toJson method

Map<String, dynamic> toJson()

Implementation

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