CategorySearchResults.fromJson constructor
Constructs a CategorySearchResults instance from a JSON map.
json
is the JSON map containing the category data.
Implementation
CategorySearchResults.fromJson(Map<String, dynamic> json)
: this.id = Convert.toInt(json['id'], 0),
this.name = Convert.toStr(json['name'], '');