$Recipient.fromJson constructor Null safety

$Recipient.fromJson(
  1. Map _json
)

Implementation

$Recipient.fromJson(core.Map _json)
    : this(
        deliveryType: _json.containsKey('deliveryType')
            ? _json['deliveryType'] as core.String
            : null,
        email:
            _json.containsKey('email') ? _json['email'] as core.String : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
      );