DIDConnectRequestMessage class

Represents a DID Connect Request message.

Constructors

DIDConnectRequestMessage.new({required String from, int? createdTime, int? expiresTime, required Context context, required Initiator initiator})
Constructs a DIDConnectRequestMessage instance.
DIDConnectRequestMessage.fromJson(Map<String, dynamic> json)
Constructs a DIDConnectRequestMessage instance from a JSON map.
factory

Properties

context Context
getter/setter pair
createdTime int?
getter/setter pair
expiresTime int?
getter/setter pair
from String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
initiator Initiator
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
getter/setter pair

Methods

encode(CompressionLevel compressLevel) String
Encodes the message to a string representation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCompactJson() Map<String, dynamic>
Converts the message to a compact JSON map.
toJson() Map<String, dynamic>
Converts the message to a JSON map.
toMinimalCompactJson() Map<String, dynamic>
Converts the message to a minimal compact JSON map.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

decode(String encoded) DIDConnectRequestMessage
Decodes the message from an encoded string.