StakeAccount constructor

StakeAccount({
  1. required bool active,
  2. int? activeEpoch,
  3. required int controlledAmount,
  4. required int rewardsSum,
  5. required int withdrawalsSum,
  6. required int reservesSum,
  7. required int treasurySum,
  8. required int withdrawableAmount,
  9. String? poolId,
  10. StakePoolMetadata? poolMetadata,
  11. StakePool? stakePool,
  12. required List<StakeReward> rewards,
})

Implementation

StakeAccount({
  required this.active,
  this.activeEpoch,
  required this.controlledAmount,
  required this.rewardsSum,
  required this.withdrawalsSum,
  required this.reservesSum,
  required this.treasurySum,
  required this.withdrawableAmount,
  this.poolId,
  this.poolMetadata,
  this.stakePool,
  required this.rewards,
});