CredentialResponse class

Represents a credential response as documented in inter-wallet-credential-exchange protocol.

Implemented types

Constructors

CredentialResponse({required Map<String, dynamic> verifiablePresentation, required List plaintextCredentials})
CredentialResponse.fromJson(dynamic jsonObject)
CredentialResponse.fromQuery(Map<String, dynamic> queryParameters)
Searches base64URL encoded Response from queryParameters and decodes it.

Properties

hashCode int
The hash code for this object.
no setterinherited
plaintextCredentials List?
List of plaintext Credentials with some values disclosed
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectiveDisclosureType String
Type of supported selective disclosure method
no setter
type String
Type of this object.
no setter
verifiablePresentation Map<String, dynamic>?
The Verifiable Presentation containing the requested Verifiable Credentials
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toQuery() String
Returns the base64Url encoded credential request that could be used as query in an uri. It is prefix with key 'iwce='.
toString() String
String encoded json-representation of a credential response
override

Operators

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