toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'amount': amount,
      'fee': fee,
      'fromAccountIndex': fromAccountIndex,
      'fromBJJ': fromBJJ,
      'fromHezEthereumAddress': fromHezEthereumAddress,
      'id': id,
      'info': info,
      'nonce': nonce,
      'requestAmount': requestAmount,
      'requestFee': requestFee,
      'requestFromAccountIndex': requestFromAccountIndex,
      'requestNonce': requestNonce,
      'requestToAccountIndex': requestToAccountIndex,
      'requestToBJJ': requestToBJJ,
      'requestToHezEthereumAddress': requestToHezEthereumAddress,
      'requestTokenId': requestTokenId,
      'signature': signature,
      'state': state,
      'timestamp': timestamp,
      'toAccountIndex': toAccountIndex,
      'toBjj': toBjj,
      'toHezEthereumAddress': toHezEthereumAddress,
      'token': token!.toJson(),
      'type': type
    };