EmptyMessage constructor

EmptyMessage({
  1. String? id,
  2. String? replyUrl,
  3. List<String>? replyTo,
  4. String? parentThreadId,
  5. String? threadId,
  6. String? from,
  7. List<String>? to,
  8. DateTime? createdTime,
  9. DateTime? expiresTime,
  10. bool pleaseAck = false,
  11. FromPriorJWT? fromPrior,
  12. Map<String, dynamic>? additionalHeaders,
  13. DidcommMessageTyp? typ,
  14. WebRedirect? webRedirect,
  15. ReturnRouteValue? returnRoute,
  16. List<String>? ack,
  17. List<Attachment>? attachments,
})

Implementation

EmptyMessage(
    {String? id,
    super.replyUrl,
    super.replyTo,
    super.parentThreadId,
    super.threadId,
    super.from,
    List<String>? super.to,
    super.createdTime,
    super.expiresTime,
    super.pleaseAck,
    super.fromPrior,
    super.additionalHeaders,
    super.typ,
    super.webRedirect,
    super.returnRoute,
    super.ack,
    super.attachments})
    : super(
          id: id ?? Uuid().v4(),
          type: DidcommMessages.emptyMessage,
          body: {});