ListRegionsResponse.fromJson constructor

ListRegionsResponse.fromJson(
  1. Map json_
)

Implementation

ListRegionsResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] 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,
      );