You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
729 B

/// 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<String, dynamic> toJson() {
var map = <String, dynamic>{};
map["description"] = _description;
map["imgUrl"] = _imgUrl;
map["storeId"] = _storeId;
return map;
}
}