toJson method

Map<String?, dynamic>? toJson()

Implementation

Map<String, dynamic> toJson() => {
      "amount": amount,
      "data": data.toJson(),
      "fee": fee,
      "from": from,
      "hash": hash,
      "maxFee": maxFee,
      "size": size,
      "timestamp": timestamp.toIso8601String(),
      "tips": tips,
      "to": to,
      "type": type,
    };