DivisionSearchResponse.fromJson constructor

DivisionSearchResponse.fromJson(
  1. 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,
      );