h3GetResolution method
Returns the resolution of the provided H3 index
Works on both cells and unidirectional edges.
Implementation
@override
int h3GetResolution(BigInt h3Index) {
if (!h3IsValid(h3Index)) {
throw H3Exception('H3Index is not valid.');
}
return h3_js.h3GetResolution(h3Index.toH3JS()).toInt();
}