DidDocument class
- Annotations
-
- @freezed
Constructors
-
DidDocument({@JsonKey(name: '@context') required List<
String> context, required String id, required List<String> alsoKnownAs, required List<VerificationMethod> verificationMethod, required List<Service> service}) -
Creates an instance of DidDocument.
constfactory
-
DidDocument.fromJson(Map<
String, Object?> json) -
Creates an instance of DidDocument from a map of
String, Object?
.factory
Properties
-
alsoKnownAs
→ List<
String> -
no setterinherited
-
context
→ List<
String> -
no setterinherited
-
copyWith
→ $DidDocumentCopyWith<
DidDocument> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
service
→ List<
Service> -
no setterinherited
-
verificationMethod
→ List<
VerificationMethod> -
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited