$SetLabelsRequest.fromJson constructor Null safety

$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, item) => core.MapEntry(
                  key,
                  item as core.String,
                ),
              )
            : null,
      );