toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final algorithm = this.algorithm;
final attestation = this.attestation;
final createTime = this.createTime;
final destroyEventTime = this.destroyEventTime;
final destroyTime = this.destroyTime;
final externalDestructionFailureReason =
this.externalDestructionFailureReason;
final externalProtectionLevelOptions = this.externalProtectionLevelOptions;
final generateTime = this.generateTime;
final generationFailureReason = this.generationFailureReason;
final importFailureReason = this.importFailureReason;
final importJob = this.importJob;
final importTime = this.importTime;
final name = this.name;
final protectionLevel = this.protectionLevel;
final reimportEligible = this.reimportEligible;
final state = this.state;
return {
'algorithm': ?algorithm,
'attestation': ?attestation,
'createTime': ?createTime,
'destroyEventTime': ?destroyEventTime,
'destroyTime': ?destroyTime,
'externalDestructionFailureReason': ?externalDestructionFailureReason,
'externalProtectionLevelOptions': ?externalProtectionLevelOptions,
'generateTime': ?generateTime,
'generationFailureReason': ?generationFailureReason,
'importFailureReason': ?importFailureReason,
'importJob': ?importJob,
'importTime': ?importTime,
'name': ?name,
'protectionLevel': ?protectionLevel,
'reimportEligible': ?reimportEligible,
'state': ?state,
};
}