onRouteBuilt property

dynamic Function(DirectionRoute)? onRouteBuilt
final

This callback will called when the route is built successfully and response a DirectionRoute object which contains all information about the route

Implementation

final Function(DirectionRoute)? onRouteBuilt;