GeoData.fromJson constructor

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

Factory method to transform json data returned by IP-API.com to GeoData

Implementation

factory GeoData.fromJson(Map<String, dynamic> json) =>
    _$GeoDataFromJson(json);