QuickbooksPhysicalAddress.fromMap constructor
QuickbooksPhysicalAddress.fromMap(
- Map<String, dynamic> map
)
Implementation
factory QuickbooksPhysicalAddress.fromMap(Map<String, dynamic> map) {
return QuickbooksPhysicalAddress(
id: map['Id'],
line1: map['Line1'],
line2: map['Line2'],
line3: map['Line3'],
line4: map['Line4'],
line5: map['Line5'],
city: map['City'],
country: map['Country'],
countrySubDivisionCode: map['CountrySubDivisionCode'],
postalCode: map['PostalCode'],
lat: double.tryParse(map['Lat'].toString()),
long: double.tryParse(map['Long'].toString()),
);
}