h3ToGeo method

  1. @override
GeoCoord h3ToGeo(
  1. BigInt h3Index
)
override

Find the lat/lon center point g of the cell h3

Implementation

@override
GeoCoord h3ToGeo(BigInt h3Index) {
  final res = h3_js.h3ToGeo(h3Index.toH3JS());
  return GeoCoord(lat: res[0].toDouble(), lon: res[1].toDouble());
}