GeoTaxonomy.fromJson constructor

GeoTaxonomy.fromJson(
  1. Map json_
)

Implementation

GeoTaxonomy.fromJson(core.Map json_)
    : this(
        regions: json_.containsKey('regions')
            ? (json_['regions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );