Subdivision.fromJson constructor

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

Creates class instance from JSON Object that can be returned by Android or iOS agent, or can be a serialization result

Implementation

Subdivision.fromJson(Map<String, dynamic> json)
    : isoCode = json['isoCode'],
      name = json['name'];