EndpointLocation.fromJson constructor
Implementation
factory EndpointLocation.fromJson(Map<String, dynamic> json) {
return EndpointLocation(
city: json['City'] as String?,
country: json['Country'] as String?,
latitude: json['Latitude'] as double?,
longitude: json['Longitude'] as double?,
postalCode: json['PostalCode'] as String?,
region: json['Region'] as String?,
);
}