Block constructor

Block({
  1. required List<Transaction> transactions,
  2. String? genesisHash,
  3. String? genesisId,
  4. String? previousBlockHash,
  5. BigInt? round,
  6. String? seed,
  7. int? timestamp,
  8. String? transactionsRoot,
  9. BlockRewards? rewards,
  10. int? txnCounter,
  11. BlockUpgradeState? upgradeState,
  12. 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,
});