HeliumHotspotStatus class

The status of a hotspot.

Objects from this class are only ever seen in the context of a HeliumHotspot, they are not constructed independently.

Annotations
  • @JsonSerializable()

Constructors

HeliumHotspotStatus({int? height, required String online, String? timestamp, List<String>? listenAddresses})
Creates a new instance.
HeliumHotspotStatus.fromJson(Map<String, dynamic> json)
Creates an instance from a map derived from the JSON serialization.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
height int?
The highest block synced by the hotspot when this status update was obtained.
final
listenAddresses List<String>?
Internet addresses where the hotspot is listening. e.g. '/ip4/www.xxx.yyy.zzz/tcp/44158'
final
online String
Indicates if the hotspot is online.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp String?
The timestamp of this status update.
final

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.
toString() String
A string representation of this object.
inherited

Operators

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