DIDConnectRequestMessage constructor

DIDConnectRequestMessage({
  1. required String from,
  2. int? createdTime,
  3. int? expiresTime,
  4. required Context context,
  5. required Initiator initiator,
})

Constructs a DIDConnectRequestMessage instance.

The from parameter specifies the sender of the message. The createdTime parameter specifies the time when the message was created. The expiresTime parameter specifies the time when the message expires. The context parameter specifies the context of the message. The initiator parameter specifies the initiator of the message.

Implementation

DIDConnectRequestMessage({
  required this.from,
  this.createdTime,
  this.expiresTime,
  required this.context,
  required this.initiator,
}) {
  from = from;
  createdTime = createdTime;
  expiresTime = expiresTime;
  context = context;
  initiator = initiator;
}