getDestinationH3IndexFromUnidirectionalEdge method

  1. @override
BigInt getDestinationH3IndexFromUnidirectionalEdge(
  1. BigInt edgeIndex
)
override

Get the destination hexagon from an H3 index representing a unidirectional edge

Returns 0 when result can't be calculated

Implementation

@override
BigInt getDestinationH3IndexFromUnidirectionalEdge(BigInt edgeIndex) {
  return _h3c
      .getDestinationH3IndexFromUnidirectionalEdge(edgeIndex.toInt())
      .toBigInt();
}