StakeRequestBody constructor

StakeRequestBody({
  1. required String accountAddress,
  2. required String tokenAmount,
  3. required String tokenAddress,
})

Constructs a new StakeRequestBody instance.

Parameters:

  • accountAddress – The address of the account to be staked.
  • tokenAmount – The amount of tokens to be staked.
  • tokenAddress – The address of the token to be staked.

Implementation

factory StakeRequestBody({
  required String accountAddress,
  required String tokenAmount,
  required String tokenAddress,
}) = _StakeRequestBody;