$RelatedUrl.fromJson constructor Null safety

$RelatedUrl.fromJson(
  1. Map _json
)

Implementation

$RelatedUrl.fromJson(core.Map _json)
    : this(
        label:
            _json.containsKey('label') ? _json['label'] as core.String : null,
        url: _json.containsKey('url') ? _json['url'] as core.String : null,
      );