/// description : "" /// imgUrl : "" /// storeId : 0 class Brand { String _description; String _imgUrl; String _storeId; String get description => _description; String get imgUrl => _imgUrl; String get storeId => _storeId; Brand({ String description, String imgUrl, String storeId}){ _description = description; _imgUrl = imgUrl; _storeId = storeId; } Brand.fromJson(dynamic json) { _description = json["description"]; _imgUrl = json["imgUrl"]; _storeId = json["storeId"]; } Map toJson() { var map = {}; map["description"] = _description; map["imgUrl"] = _imgUrl; map["storeId"] = _storeId; return map; } }