ListBucketsResponse.fromJson constructor

ListBucketsResponse.fromJson(
  1. Map json_
)

Implementation

ListBucketsResponse.fromJson(core.Map json_)
    : this(
        buckets: json_.containsKey('buckets')
            ? (json_['buckets'] as core.List)
                .map((value) => Bucket.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );