TIMAddressComponent.fromMap constructor

TIMAddressComponent.fromMap(
  1. Map map
)

map => TIMAddressComponent

Implementation

TIMAddressComponent.fromMap(Map map)
    : assert(
map != null, // ignore: unnecessary_null_comparison
'Construct a TIMAddressComponent,The parameter map cannot be null !') {
  country = map['country'];
  province = map['province'];
  city = map['city'];
  district = map['district'];
  town = map['town'];
}