EraParameters class

Constructors

EraParameters({required int epochLength, required int slotLength, required int safeZone})
EraParameters.fromJson(Map<String, dynamic> json)
factory

Properties

epochLength int
Epoch length in number of slots
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safeZone int
Zone in which it is guaranteed that no hard fork can take place
final
slotLength int
Slot length in seconds
final

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