$SetLabelsRequest.fromJson constructor

$SetLabelsRequest.fromJson(
  1. Map json_
)

Implementation

$SetLabelsRequest.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,
      );