BMFAddressComponent.fromMap constructor

BMFAddressComponent.fromMap(
  1. Map map
)

map => BMFAddressComponent

Implementation

BMFAddressComponent.fromMap(Map map)
    : assert(map != null,
          'Construct a BMFAddressComponent,The parameter map cannot be null !') {
  country = map['country'];
  province = map['province'];
  city = map['city'];
  district = map['district'];
  town = map['town'];
  streetName = map['streetName'];
  streetNumber = map['streetNumber'];
  adCode = map['adCode'];
  countryCode = map['countryCode'];
  direction = map['direction'];
  distance = map['distance'];
}