BusinessLocation.fromJson constructor

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

Implementation

factory BusinessLocation.fromJson(Map<String, dynamic> json) =>
    BusinessLocation(
      street: json["street"] ?? "",
      area: json["area"] ?? "",
      city: json["city"] ?? "",
      country: json["country"] ?? "",
      pincode: json["pincode"] ?? "",
    );