BrPlaceCateModel.fromJson constructor

BrPlaceCateModel.fromJson(
  1. Map<String, dynamic> json
)

Implementation

BrPlaceCateModel.fromJson(Map<String, dynamic> json) {
  if (json["id"] is String) this.id = json["id"];
  if (json["catName"] is String) this.catName = json["catName"];
  if (json["colorCode"] is String) this.colorCode = json["colorCode"];
  if (json["colorCode2"] is String) this.colorCode2 = json["colorCode2"];
  if (json["catThumbnail"] is String) this.catThumbnail = json["catThumbnail"];
}