CredentialType class
The CredentialType class wraps the data of a credential it can be used to explicitly exclude or allow credentials.
- Annotations
-
- @JsonSerializable()
Constructors
-
CredentialType({required String type, required String id, required List<
String> transports}) - Constructs a new instance.
-
CredentialType.fromJson(Map<
String, dynamic> json) -
Constructs a new instance from a JSON map.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The ID of the credential.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transports
→ List<
String> -
The transports of the credential.
final
- type → String
-
The type of the credential.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this instance to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited