GeographicDivision.fromJson constructor
GeographicDivision.fromJson(
- Map json_
Implementation
GeographicDivision.fromJson(core.Map json_)
: this(
alsoKnownAs: json_.containsKey('alsoKnownAs')
? (json_['alsoKnownAs'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
officeIndices: json_.containsKey('officeIndices')
? (json_['officeIndices'] as core.List)
.map((value) => value as core.int)
.toList()
: null,
);