toJson method

  1. @override
Json toJson()
override

Implementation

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