RegionsListResponse.fromJson constructor

RegionsListResponse.fromJson(
  1. Map json_
)

Implementation

RegionsListResponse.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        regions: json_.containsKey('regions')
            ? (json_['regions'] as core.List)
                .map((value) => Region.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );