AddressWithGeoLocation.fromMap constructor

AddressWithGeoLocation.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory AddressWithGeoLocation.fromMap(Map<String, dynamic> map) {
  return AddressWithGeoLocation(
    address: Address.fromMap(map['address']),
    location: GeoCoordinates.fromMap(map['location']),
  );
}