$OrderContact.fromJson constructor Null safety

$OrderContact.fromJson(
  1. Map _json
)

Implementation

$OrderContact.fromJson(core.Map _json)
    : this(
        contactInfo: _json.containsKey('contactInfo')
            ? _json['contactInfo'] as core.String
            : null,
        contactName: _json.containsKey('contactName')
            ? _json['contactName'] as core.String
            : null,
        contactTitle: _json.containsKey('contactTitle')
            ? _json['contactTitle'] as core.String
            : null,
        contactType: _json.containsKey('contactType')
            ? _json['contactType'] as core.String
            : null,
        signatureUserProfileId: _json.containsKey('signatureUserProfileId')
            ? _json['signatureUserProfileId'] as core.String
            : null,
      );