fromJson static method
Implementation
static LocationAddress? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return LocationAddress(
countryCode: (json['country_code'] as String?) ?? '',
state: (json['state'] as String?) ?? '',
city: (json['city'] as String?) ?? '',
street: (json['street'] as String?) ?? '',
);
}