DidDocument class

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

DidDocument({required String context, required String id, required List<DidDocumentPublicKey?> publicKeys, required DidDocumentProof proof, List<DidDocumentService>? service})
const
DidDocument.fromJson(Map<String, dynamic> json)
factory

Properties

context String
final
encryptionKey CommercioRSAPublicKey?
Returns the PublicKey that should be used as the public encryption key when encrypting data that can later be read only by the owner of this Did Document.
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
final
proof DidDocumentProof
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
publicKeys List<DidDocumentPublicKey?>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service List<DidDocumentService>?
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited