geoToH3 method
Find the H3 index of the resolution res cell containing the lat/lng
Implementation
@override
BigInt geoToH3(GeoCoord geoCoord, int res) {
assert(res >= 0 && res < 16, 'Resolution must be in [0, 15] range');
return using((arena) {
return _h3c
.geoToH3(
geoCoord.toRadians(_geoCoordConverter).toNative(arena),
res,
)
.toBigInt();
});
}