toString method
Returns a string representation of the block header.
Implementation
@override
String toString() {
final blockHashStr = blockHash().toString();
return 'BlockHeader(hash: $blockHashStr, version: $version, '
'prevBlock: $prevBlock, merkleRoot: $merkleRoot, '
'timestamp: $timestamp, bits: 0x${bits.toRadixString(16)}, '
'nonce: $nonce)';
}