CryptoKeyVersion.fromJson constructor
CryptoKeyVersion.fromJson(
- Map json_
Implementation
CryptoKeyVersion.fromJson(core.Map json_)
: this(
algorithm: json_.containsKey('algorithm')
? json_['algorithm'] as core.String
: null,
attestation: json_.containsKey('attestation')
? KeyOperationAttestation.fromJson(
json_['attestation'] as core.Map<core.String, core.dynamic>)
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
destroyEventTime: json_.containsKey('destroyEventTime')
? json_['destroyEventTime'] as core.String
: null,
destroyTime: json_.containsKey('destroyTime')
? json_['destroyTime'] as core.String
: null,
externalDestructionFailureReason:
json_.containsKey('externalDestructionFailureReason')
? json_['externalDestructionFailureReason'] as core.String
: null,
externalProtectionLevelOptions:
json_.containsKey('externalProtectionLevelOptions')
? ExternalProtectionLevelOptions.fromJson(
json_['externalProtectionLevelOptions']
as core.Map<core.String, core.dynamic>)
: null,
generateTime: json_.containsKey('generateTime')
? json_['generateTime'] as core.String
: null,
generationFailureReason: json_.containsKey('generationFailureReason')
? json_['generationFailureReason'] as core.String
: null,
importFailureReason: json_.containsKey('importFailureReason')
? json_['importFailureReason'] as core.String
: null,
importJob: json_.containsKey('importJob')
? json_['importJob'] as core.String
: null,
importTime: json_.containsKey('importTime')
? json_['importTime'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
protectionLevel: json_.containsKey('protectionLevel')
? json_['protectionLevel'] as core.String
: null,
reimportEligible: json_.containsKey('reimportEligible')
? json_['reimportEligible'] as core.bool
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
);