$MonitoringDestination.fromJson constructor

$MonitoringDestination.fromJson(
  1. Map json_
)

Implementation

$MonitoringDestination.fromJson(core.Map json_)
    : this(
        metrics: json_.containsKey('metrics')
            ? (json_['metrics'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        monitoredResource: json_.containsKey('monitoredResource')
            ? json_['monitoredResource'] as core.String
            : null,
      );