Message constructor
Message({
- required String fromCAIP10,
- required String toCAIP10,
- required String fromDID,
- required String toDID,
- required String messageType,
- required String messageContent,
- dynamic messageObj,
- required String signature,
- required String sigType,
- String? link,
- int? timestamp,
- required String encType,
- required String encryptedSecret,
- bool? deprecated,
- String? deprecatedCode,
- String? verificationProof,
- 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,
});