toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'fromDID': fromDID,
'toDID': toDID,
'fromCAIP10': fromCAIP10,
'toCAIP10': toCAIP10,
'messageContent': messageContent,
'messageObj': messageObj,
'messageType': messageType,
'signature': signature,
'encType': encType,
'encryptedSecret': encryptedSecret,
'sigType': sigType,
'verificationProof': verificationProof,
};
}