MessageWithCID constructor

MessageWithCID({
  1. required String cid,
  2. String? chatId,
  3. String? link,
  4. required String fromCAIP10,
  5. required String toCAIP10,
  6. required String fromDID,
  7. required String toDID,
  8. required String messageType,
  9. required String messageContent,
  10. required String signature,
  11. required String sigType,
  12. int? timestamp,
  13. required String encType,
  14. required String encryptedSecret,
  15. String? verificationProof,
})

Implementation

MessageWithCID({
  required this.cid,
  this.chatId,
  this.link,
  required this.fromCAIP10,
  required this.toCAIP10,
  required this.fromDID,
  required this.toDID,
  required this.messageType,
  required this.messageContent,
  required this.signature,
  required this.sigType,
  this.timestamp,
  required this.encType,
  required this.encryptedSecret,
  this.verificationProof,
});