UnstakeInfo constructor
UnstakeInfo({})
Implementation
UnstakeInfo({
required this.hash,
required this.epoch,
required this.timestamp,
required this.block,
required this.confirmed,
required this.reverted,
required this.validator,
required this.withdrawer,
required this.unstakeValue,
required this.fee,
required this.nonce,
required this.weight,
}) : super(
txnHash: hash,
txnTime: timestamp,
status:
TransactionStatus.fromValues(null, reverted, confirmed).status,
type: TransactionType.stake,
blockHash: block);