DrivingSessionRouteListener constructor
DrivingSessionRouteListener({
- required void onDrivingRoutes(
- List<
DrivingRoute> routes
- List<
- required void onDrivingRoutesError(
- Error error
Implementation
factory DrivingSessionRouteListener(
{required void Function(
core.List<directions_driving_route.DrivingRoute> routes)
onDrivingRoutes,
required void Function(runtime_error.Error error) onDrivingRoutesError}) {
return DrivingSessionRouteListenerImpl(
onDrivingRoutes: onDrivingRoutes,
onDrivingRoutesError: onDrivingRoutesError,
);
}