MonitoringConfig.fromJson constructor

MonitoringConfig.fromJson(
  1. Map json_
)

Implementation

MonitoringConfig.fromJson(core.Map json_)
    : this(
        cluster: json_.containsKey('cluster')
            ? json_['cluster'] as core.String
            : null,
        clusterHash: json_.containsKey('clusterHash')
            ? json_['clusterHash'] as core.String
            : null,
        kubernetesMetricsPrefix: json_.containsKey('kubernetesMetricsPrefix')
            ? json_['kubernetesMetricsPrefix'] as core.String
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
      );