ShieldedInstanceIdentity.fromJson constructor

ShieldedInstanceIdentity.fromJson(
  1. Map json_
)

Implementation

ShieldedInstanceIdentity.fromJson(core.Map json_)
  : this(
      eccP256EncryptionKey: json_.containsKey('eccP256EncryptionKey')
          ? ShieldedInstanceIdentityEntry.fromJson(
              json_['eccP256EncryptionKey']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      eccP256SigningKey: json_.containsKey('eccP256SigningKey')
          ? ShieldedInstanceIdentityEntry.fromJson(
              json_['eccP256SigningKey']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      encryptionKey: json_.containsKey('encryptionKey')
          ? ShieldedInstanceIdentityEntry.fromJson(
              json_['encryptionKey'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      kind: json_['kind'] as core.String?,
      signingKey: json_.containsKey('signingKey')
          ? ShieldedInstanceIdentityEntry.fromJson(
              json_['signingKey'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );