DocumentData class
- Annotations
-
- @freezed
Constructors
-
DocumentData({required String did, required Map<
String, dynamic> verificationMethods, required List<String> rotationKeys, required List<String> alsoKnownAs, required Map<String, dynamic> services}) -
Creates an instance of DocumentData.
constfactory
-
DocumentData.fromJson(Map<
String, Object?> json) -
Creates an instance of DocumentData from a map of
String, Object?
.factory
Properties
-
alsoKnownAs
→ List<
String> -
no setterinherited
-
copyWith
→ $DocumentDataCopyWith<
DocumentData> -
no setterinherited
- did → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
rotationKeys
→ List<
String> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
services
→ Map<
String, dynamic> -
no setterinherited
-
verificationMethods
→ Map<
String, dynamic> -
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