toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final algorithm = this.algorithm;
  final creationTime = this.creationTime;
  final description = this.description;
  final digests = this.digests;
  final id = this.id;
  final isActive = this.isActive;
  final keyLength = this.keyLength;
  final keyTag = this.keyTag;
  final kind = this.kind;
  final publicKey = this.publicKey;
  final type = this.type;
  return {
    'algorithm': ?algorithm,
    'creationTime': ?creationTime,
    'description': ?description,
    'digests': ?digests,
    'id': ?id,
    'isActive': ?isActive,
    'keyLength': ?keyLength,
    'keyTag': ?keyTag,
    'kind': ?kind,
    'publicKey': ?publicKey,
    'type': ?type,
  };
}