numHexagons method
Returns the total count of hexagons in the world at a given resolution.
If the library compiled to JS - note that above resolution 8 the exact count cannot be represented in a JavaScript 32-bit number, so consumers should use caution when applying further operations to the output.
Implementation
@override
int numHexagons(int res) {
assert(res >= 0 && res < 16, 'Resolution must be in [0, 15] range');
return _h3c.numHexagons(res);
}