fromJson static method

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

Implementation

static State fromJson(Map<String, dynamic> json) => State(
      name: json['name'],
      countryCode: json['countryCode'],
      isoCode: json['isoCode'],
      latitude: json['latitude'],
      longitude: json['longitude'],
    );