GoogleCloudApigeeV1StatsEnvironmentStats.fromJson constructor

GoogleCloudApigeeV1StatsEnvironmentStats.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1StatsEnvironmentStats.fromJson(core.Map json_)
    : this(
        dimensions: json_.containsKey('dimensions')
            ? (json_['dimensions'] as core.List)
                .map((value) => GoogleCloudApigeeV1DimensionMetric.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        metrics: json_.containsKey('metrics')
            ? (json_['metrics'] as core.List)
                .map((value) => GoogleCloudApigeeV1Metric.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );