Office.fromJson constructor
Office.fromJson(
- Map json_
Implementation
Office.fromJson(core.Map json_)
: this(
divisionId: json_['divisionId'] as core.String?,
levels: (json_['levels'] as core.List?)
?.map((value) => value as core.String)
.toList(),
name: json_['name'] as core.String?,
officialIndices: (json_['officialIndices'] as core.List?)
?.map((value) => value as core.int)
.toList(),
roles: (json_['roles'] as core.List?)
?.map((value) => value as core.String)
.toList(),
sources: (json_['sources'] as core.List?)
?.map((value) =>
Source.fromJson(value as core.Map<core.String, core.dynamic>))
.toList(),
);