$LabelEntry.fromJson constructor Null safety

$LabelEntry.fromJson(
  1. Map _json
)

Implementation

$LabelEntry.fromJson(core.Map _json)
    : this(
        key: _json.containsKey('key') ? _json['key'] as core.String : null,
        value:
            _json.containsKey('value') ? _json['value'] as core.String : null,
      );