GlobalSetLabelsRequest.fromJson constructor

GlobalSetLabelsRequest.fromJson(
  1. Map json_
)

Implementation

GlobalSetLabelsRequest.fromJson(core.Map json_)
    : this(
        labelFingerprint: json_.containsKey('labelFingerprint')
            ? json_['labelFingerprint'] as core.String
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );