Block class

Constructors

Block(String id, int height, int version, int timestamp, int txCount, int size, int weight, String merkleRoot, String? previousblockhash, int mediantime, int nonce, int bits, int difficulty)
Block.fromJson(Map<String, dynamic> json)

Properties

bits int
getter/setter pair
difficulty int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int
getter/setter pair
id String
getter/setter pair
mediantime int
getter/setter pair
merkleRoot String
getter/setter pair
nonce int
getter/setter pair
previousblockhash String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
getter/setter pair
timestamp int
getter/setter pair
txCount int
getter/setter pair
version int
getter/setter pair
weight int
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited