Message constructor

Message({
  1. required String fromCAIP10,
  2. required String toCAIP10,
  3. required String fromDID,
  4. required String toDID,
  5. required String messageType,
  6. required String messageContent,
  7. dynamic messageObj,
  8. required String signature,
  9. required String sigType,
  10. String? link,
  11. int? timestamp,
  12. required String encType,
  13. required String encryptedSecret,
  14. bool? deprecated,
  15. String? deprecatedCode,
  16. String? verificationProof,
  17. String? sessionKey,
})

Implementation

Message({
  required this.fromCAIP10,
  required this.toCAIP10,
  required this.fromDID,
  required this.toDID,
  required this.messageType,
  required this.messageContent,
  this.messageObj,
  required this.signature,
  required this.sigType,
  this.link,
  this.timestamp,
  required this.encType,
  required this.encryptedSecret,
  this.deprecated,
  this.deprecatedCode,
  this.verificationProof,
  this.sessionKey,
});