get method
Fetches the hotspot with the given address.
address
is the B58 address of the hotspot.
Implementation
Future<HeliumResponse<HeliumHotspot>> get(String address) async {
return _client._doRequest(HeliumRequest(
path: '/v1/hotspots/$address',
extractResponse: (json) => HeliumHotspot.fromJson(json['data']),
));
}