toJson method
JSON form, with the same keys as the npm package.
Implementation
Map<String, Object?> toJson() => {
'raw': raw,
'street': street,
'area': area,
'city': city,
'district': district,
'province': province,
'postalCode': postalCode,
'warnings': List.of(warnings),
};