toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (algorithm != null) 'algorithm': algorithm!,
if (creationTime != null) 'creationTime': creationTime!,
if (description != null) 'description': description!,
if (digests != null) 'digests': digests!,
if (id != null) 'id': id!,
if (isActive != null) 'isActive': isActive!,
if (keyLength != null) 'keyLength': keyLength!,
if (keyTag != null) 'keyTag': keyTag!,
if (kind != null) 'kind': kind!,
if (publicKey != null) 'publicKey': publicKey!,
if (type != null) 'type': type!,
};