Block constructor
Block({
- required String genesisHash,
- required String genesisId,
- required String previousBlockHash,
- required int round,
- required String seed,
- required int timestamp,
- required List<
Transaction> transactions, - required String transactionsRoot,
- BlockRewards? rewards,
- int? txnCounter,
- BlockUpgradeState? upgradeState,
- BlockUpgradeVote? upgradeVote,
Implementation
Block({
required this.genesisHash,
required this.genesisId,
required this.previousBlockHash,
required this.round,
required this.seed,
required this.timestamp,
required this.transactions,
required this.transactionsRoot,
this.rewards,
this.txnCounter,
this.upgradeState,
this.upgradeVote,
});