$MonitoredResourceMetadata.fromJson constructor

$MonitoredResourceMetadata.fromJson(
  1. Map json_
)

Implementation

$MonitoredResourceMetadata.fromJson(core.Map json_)
    : this(
        systemLabels: json_.containsKey('systemLabels')
            ? json_['systemLabels'] as core.Map<core.String, core.dynamic>
            : null,
        userLabels: json_.containsKey('userLabels')
            ? (json_['userLabels'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );