onNewRouteSelected property

dynamic Function(DirectionRoute)? onNewRouteSelected
final

This callback will called when the user select a new route and response a DirectionRoute object which contains all information about the new route

Implementation

final Function(DirectionRoute)? onNewRouteSelected;