ShopInfo.fromJson constructor

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

Implementation

factory ShopInfo.fromJson(Map<String, dynamic> json) {
  return ShopInfo(
    driverName: json["driverName"],
    endCountrySubdivisionCode: json["endCountrySubdivisionCode"],
    endLatitude: json["endLatitude"],
    endLocationText: json["endLocationText"],
    endLongitude: json["endLongitude"],
    shippingNoteNumber: json["shippingNoteNumber"],
    startCountrySubdivisionCode: json["startCountrySubdivisionCode"],
    startLatitude: json["startLatitude"],
    startLocationText: json["startLocationText"],
    startLongitude: json["startLongitude"],
    vehicleNumber: json["vehicleNumber"],
  );
}