ListDatasetsResponse.fromJson constructor

ListDatasetsResponse.fromJson(
  1. Map json_
)

Implementation

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