$EncryptionInfo.fromJson constructor Null safety

$EncryptionInfo.fromJson(
  1. Map _json
)

Implementation

$EncryptionInfo.fromJson(core.Map _json)
    : this(
        encryptionEntityId: _json.containsKey('encryptionEntityId')
            ? _json['encryptionEntityId'] as core.String
            : null,
        encryptionEntityType: _json.containsKey('encryptionEntityType')
            ? _json['encryptionEntityType'] as core.String
            : null,
        encryptionSource: _json.containsKey('encryptionSource')
            ? _json['encryptionSource'] as core.String
            : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
      );