toJson method

  1. @override
Json toJson()
override

Implementation

@override
Json toJson() {
  return {
    "name": name,
    "data": data.toHex,
    "timeStamp": timeStamp,
  };
}