AvailableLocation.fromJson constructor

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

Implementation

factory AvailableLocation.fromJson(Map<String, dynamic> json) =>
    AvailableLocation(
      city: json["city"] ?? [],
      state: json["state"] ?? [],
      country: json["country"] ?? [],
      pinCode: json["pincode"] ?? [],
    );