selectLegIndex method
Manually set the selected leg index on the route.
This may throw an exception if the resulting internal state is invalid (parsed index is out of bounds)
Implementation
Future<void> selectLegIndex(int legIndex) =>
DirectionsRendererPlatform.instance.selectLegIndex(legIndex);