toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'l1info': l1info!.toJson(),
      'L1orL2': L1orL2,
      'l2info': l2info!.toJson(),
      'amount': amount,
      'batchNum': batchNum,
      'fromAccountIndex': fromAccountIndex,
      'fromBJJ': fromBJJ,
      'fromHezEthereumAddress': fromHezEthereumAddress,
      'historicUSD': historicUSD,
      'id': id,
      'itemId': itemId,
      'position': position,
      'timestamp': timestamp,
      'toAccountIndex': toAccountIndex,
      'toBJJ': toBJJ,
      'toHezEthereumAddress': toHezEthereumAddress,
      'token': token!.toJson(),
      'type': type
    };