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