AddressDetail.fromMap constructor

AddressDetail.fromMap(
  1. Map map
)

Implementation

factory AddressDetail.fromMap(Map<dynamic, dynamic> map) {
  return AddressDetail(
    adminArea: map['adminArea'],
    country: map['country'],
    countryCode: map['countryCode'],
    locality: map['locality'],
    subAdminArea: map['subAdminArea'],
    subLocality: map['subLocality'],
    thoroughfare: map['thoroughfare'],
    postalCode: map['postalCode'],
    streetNumber: map['streetNumber'],
    tertiaryAdminArea: map['tertiaryAdminArea'],
  );
}