PickupLocation.fromMap constructor

PickupLocation.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory PickupLocation.fromMap(Map<String, dynamic> json) => PickupLocation(
  street2: json["street_2"],
  city: json["city"],
  street1: json["street_1"],
  regionId: json["region_id"],
  id: json["id"],
  countryId: json["country_id"],
  googlePlaceId: json["google_place_id"],
  name: json["name"],
  status: json["status"],
);