HeliumTransactionConsensusGroupV1 class
The consensus_group_v1 transaction.
- Inheritance
-
- Object
- HeliumTransaction
- HeliumTransactionConsensusGroupV1
- Annotations
-
- @JsonSerializable()
Constructors
-
HeliumTransactionConsensusGroupV1({required HeliumTransactionType type, required String hash, required int height, required DateTime time, required List<
String> members, required int delay, required String proof}) - Creates a new instance.
-
HeliumTransactionConsensusGroupV1.fromJson(Map<
String, dynamic> json) -
Creates an instance from a map derived from the JSON serialization.
factory
Properties
- delay → int
-
final
- hash → String
-
The transaction hash.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
The block containing the transaction.
finalinherited
-
members
→ List<
String> -
final
- proof → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time → DateTime
-
The transaction time.
finalinherited
- type → HeliumTransactionType
-
The type of transaction.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Creates a map suitable for serialization to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited