StakeAccount constructor
StakeAccount({
- required bool active,
- int? activeEpoch,
- required int controlledAmount,
- required int rewardsSum,
- required int withdrawalsSum,
- required int reservesSum,
- required int treasurySum,
- required int withdrawableAmount,
- String? poolId,
- StakePoolMetadata? poolMetadata,
- StakePool? stakePool,
- 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,
});