DivisionSearchResponse.fromJson constructor
DivisionSearchResponse.fromJson(
- Map json_
Implementation
DivisionSearchResponse.fromJson(core.Map json_)
: this(
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
results: json_.containsKey('results')
? (json_['results'] as core.List)
.map((value) => DivisionSearchResult.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);