CalculateIndoorRouteCallback typedef
A function which is called by the IndoorRoutingEngine after route calculation has completed.
It is always called on the main thread.
The first argument is the error in case of a failure. It is null for an operation that succeeds.
The second argument is the calculated routes. It is null in case of an error.
-
indoorRoutingErrorThe error in case of a failure. It isnullfor an operation that succeeds. -
routeListThe calculated routes. It isnullin case of an error.
Implementation
typedef CalculateIndoorRouteCallback = void Function(IndoorRoutingError? indoorRoutingError, List<Route>? routeList);