StakeInfo constructor
StakeInfo({
- required String block,
- required String? changeAddress,
- required int? changeValue,
- required bool confirmed,
- required int epoch,
- required int fee,
- required String hash,
- required List<
StakeInput> inputs, - required int priority,
- required bool reverted,
- required int stakeValue,
- required int timestamp,
- required String validator,
- required int weight,
- required String withdrawer,
Implementation
StakeInfo({
required this.block,
required this.changeAddress,
required this.changeValue,
required this.confirmed,
required this.epoch,
required this.fee,
required this.hash,
required this.inputs,
required this.priority,
required this.reverted,
required this.stakeValue,
required this.timestamp,
required this.validator,
required this.weight,
required this.withdrawer,
}) : super(
txnHash: hash,
txnTime: timestamp,
status:
TransactionStatus.fromValues(null, reverted, confirmed).status,
type: TransactionType.stake,
blockHash: block);