ListAdaptiveMtDatasetsResponse.fromJson constructor

ListAdaptiveMtDatasetsResponse.fromJson(
  1. Map json_
)

Implementation

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