toJson method
Implementation
@override
Json toJson() => {
'text': text,
'reply_to': replyTo,
'root_hash': rootHash,
'attachments': attachments.map((e) => e.toJson()).toList(),
};
@override
Json toJson() => {
'text': text,
'reply_to': replyTo,
'root_hash': rootHash,
'attachments': attachments.map((e) => e.toJson()).toList(),
};