RpcSnapshotBlock class
- Annotations
-
- @freezed
Constructors
-
RpcSnapshotBlock({required ViteAddress producer, required RpcHash hash, required RpcHash previousHash, required int height, RpcBase64? publicKey, RpcBase64? signature, required double seed, RpcHash? nextSeedHash, @Default({}) Map<
ViteAddress, RpcHashHeight> snapshotData, required int timestamp}) -
constfactory
-
RpcSnapshotBlock.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $RpcSnapshotBlockCopyWith<
RpcSnapshotBlock> -
no setterinherited
- hash → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
no setterinherited
- nextSeedHash → String?
-
no setterinherited
- previousHash → String
-
no setterinherited
- producer → String
-
no setterinherited
- publicKey → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seed → double
-
no setterinherited
- signature → String?
-
no setterinherited
-
snapshotData
→ Map<
String, RpcHashHeight> -
no setterinherited
- timestamp → int
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited