CsePrivateKeyMetadata.fromJson constructor

CsePrivateKeyMetadata.fromJson(
  1. Map json_
)

Implementation

CsePrivateKeyMetadata.fromJson(core.Map json_)
    : this(
        hardwareKeyMetadata: json_.containsKey('hardwareKeyMetadata')
            ? HardwareKeyMetadata.fromJson(json_['hardwareKeyMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
        kaclsKeyMetadata: json_.containsKey('kaclsKeyMetadata')
            ? KaclsKeyMetadata.fromJson(json_['kaclsKeyMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
        privateKeyMetadataId: json_.containsKey('privateKeyMetadataId')
            ? json_['privateKeyMetadataId'] as core.String
            : null,
      );