getByH3Index method
Fetches the hotspots which are in the given H3 index.
The supported H3 indices are currently limited to resolution 8.
Implementation
Future<HeliumPagedResponse<List<HeliumHotspot>>> getByH3Index(
String h3index) async {
return _client._doPagedRequest(HeliumPagedRequest(
path: '/v1/hotspots/hex/$h3index',
extractResponse: (json) =>
HeliumRequest.mapDataList(json, (h) => HeliumHotspot.fromJson(h)),
));
}