HeliumPoCReceipt class

This is part of a poc_receipts_v1 transaction.

Annotations
  • @JsonSerializable()

Constructors

HeliumPoCReceipt({required int timestamp, required String gateway, required int signal, required String origin, required String data})
Creates a new instance.
HeliumPoCReceipt.fromJson(Map<String, dynamic> json)
Creates an instance from a map derived from the JSON serialization.
factory

Properties

data String
final
gateway String
The B58 address of the hotspot that sent the beacon.
final
hashCode int
The hash code for this object.
no setterinherited
origin String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signal int
final
timestamp int
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