PlaceMenuSubcats.fromJson constructor
Implementation
PlaceMenuSubcats.fromJson(Map<String, dynamic> json) {
if (json["id"] is String) id = json["id"];
if (json["order"] is int) order = json["order"];
if (json["catName"] is String) catName = json["catName"];
if (json["items"] is List) {
items = json["items"] == null
? null
: (json["items"] as List).map((e) => PlaceMenuItems.fromJson(e)).toList();
}
}