ProServicesBusiness.fromJson constructor
Implementation
ProServicesBusiness.fromJson(Map<String, dynamic> json) {
businessDescription =
BusinessDescriptionModel.fromJson(json["businessDescription"] ?? {});
if (json["services"] is List) {
services = (json["services"] as List)
.map<ProServiceModel>((e) => ProServiceModel.fromJson(e))
.toList();
} else {
services = <ProServiceModel>[];
}
}