operator == method
Equality operator.
Implementation
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
if (other is! BlockHeader) return false;
return version == other.version &&
prevBlock == other.prevBlock &&
merkleRoot == other.merkleRoot &&
timestamp.millisecondsSinceEpoch == other.timestamp.millisecondsSinceEpoch &&
bits == other.bits &&
nonce == other.nonce;
}