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.
28 lines
701 B
28 lines
701 B
class UserFavCategory {
|
|
String userGuid;
|
|
String categoryCode;
|
|
String countID;
|
|
|
|
UserFavCategory({
|
|
this.userGuid,
|
|
this.categoryCode,
|
|
this.countID,
|
|
});
|
|
UserFavCategory.fromJSON(Map<String, dynamic> json)
|
|
: userGuid = json['userguid'],
|
|
categoryCode = json['catcode'],
|
|
countID = json['countid'];
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = Map<String, dynamic>();
|
|
data['userguid'] = this.userGuid;
|
|
data['catcode'] = this.categoryCode;
|
|
data['countid'] = this.countID;
|
|
return data;
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return '{"userguid": "$userGuid", "catcode": "$categoryCode","countid": "$countID"}';
|
|
}
|
|
}
|
|
|