Set a route to be rendered. This also resets the selected leg and step indices to 0.
Future<void> setRoute(MPRoute? route) => DirectionsRendererPlatform.instance.setRoute(route);