EndpointLocation.fromJson constructor

EndpointLocation.fromJson(
  1. Map<String, dynamic> json
)

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?,
  );
}