TencentGeoAddress.fromMap constructor
TencentGeoAddress.fromMap( - Map map
)
Implementation
factory TencentGeoAddress.fromMap(Map map) {
return TencentGeoAddress(
name: map['name'] as String?,
address: map['address'] as String?,
nation: map['nation'] as String?,
nationCode: map['nationCode'] as int?,
province: map['province'] as String?,
city: map['city'] as String?,
district: map['district'] as String?,
town: map['town'] as String?,
village: map['village'] as String?,
street: map['street'] as String?,
streetNo: map['streetNo'] as String?,
cityCode: map['cityCode'] as String?,
cityPhoneCode: map['cityPhoneCode'] as String?,
areaStat: map['areaStat'] as int?,
);
}