PlaceCatModel.fromJson constructor
PlaceCatModel.fromJson(
- Map<String, dynamic> json
)
Implementation
PlaceCatModel.fromJson(Map<String, dynamic> json) {
if (json["catLocId"] is int) this.catLocId = json["catLocId"];
if (json["catId"] is int) this.catId = json["catId"];
if (json["local"] is String) this.local = json["local"];
if (json["localisedName"] is String) {
this.localisedName = json["localisedName"];
}
if (json["privacyEnforced"] is int) {
this.privacyEnforced = json["privacyEnforced"];
}
}