HeliumHotspotMode class

An enumeration of the mode in which a hotspot operates.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The value indicating the mode, as it is represented in JSON by the Helium API.
final

Methods

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

Operators

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

Static Methods

parse(String s) HeliumHotspotMode
Given a hotspot mode from JSON, return the enumerated value.

Constants

DATA_ONLY → const HeliumHotspotMode
Data Only hotspots use Validators to get information about the Helium blockchain and get rewarded for forwarding Data Packets.
FULL → const HeliumHotspotMode
Full hotspots maintain a full copy of the Helium blockchain, participate in Proof of Coverage rewards, and get rewarded for forwarding Data Packets.
LIGHT → const HeliumHotspotMode
Light hotspots use Validators to get information about the Helium blockchain, participate in Proof of Coverage rewards, and get rewarded for forwarding Data Packets.