GoogleCloudApigeeV1Stats.fromJson constructor

GoogleCloudApigeeV1Stats.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1Stats.fromJson(core.Map json_)
    : this(
        environments: json_.containsKey('environments')
            ? (json_['environments'] as core.List)
                .map((value) =>
                    GoogleCloudApigeeV1StatsEnvironmentStats.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        hosts: json_.containsKey('hosts')
            ? (json_['hosts'] as core.List)
                .map((value) => GoogleCloudApigeeV1StatsHostStats.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        metaData: json_.containsKey('metaData')
            ? GoogleCloudApigeeV1Metadata.fromJson(
                json_['metaData'] as core.Map<core.String, core.dynamic>)
            : null,
      );