RouteCompletionCallback<T> typedef
A callback to handle the result of a completed Route.
The return value of the route (which can be null for e.g. void routes) is passed to the callback.
Used by RestorableRouteFuture.onComplete.
Implementation
typedef RouteCompletionCallback<T> = void Function(T result);