ListLogMetricsResponse.fromJson constructor

ListLogMetricsResponse.fromJson(
  1. Map json_
)

Implementation

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