ListMetricDescriptorsResponse.fromJson constructor
ListMetricDescriptorsResponse.fromJson(
- Map json_
Implementation
ListMetricDescriptorsResponse.fromJson(core.Map json_)
: this(
metricDescriptors: json_.containsKey('metricDescriptors')
? (json_['metricDescriptors'] as core.List)
.map((value) => MetricDescriptor.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
);