toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final createTime = this.createTime;
final cryptoKeyBackend = this.cryptoKeyBackend;
final destroyScheduledDuration = this.destroyScheduledDuration;
final importOnly = this.importOnly;
final keyAccessJustificationsPolicy = this.keyAccessJustificationsPolicy;
final labels = this.labels;
final name = this.name;
final nextRotationTime = this.nextRotationTime;
final primary = this.primary;
final purpose = this.purpose;
final rotationPeriod = this.rotationPeriod;
final versionTemplate = this.versionTemplate;
return {
'createTime': ?createTime,
'cryptoKeyBackend': ?cryptoKeyBackend,
'destroyScheduledDuration': ?destroyScheduledDuration,
'importOnly': ?importOnly,
'keyAccessJustificationsPolicy': ?keyAccessJustificationsPolicy,
'labels': ?labels,
'name': ?name,
'nextRotationTime': ?nextRotationTime,
'primary': ?primary,
'purpose': ?purpose,
'rotationPeriod': ?rotationPeriod,
'versionTemplate': ?versionTemplate,
};
}