transformRouteInformation method

Future<RouteInformation?> transformRouteInformation(
  1. RouteInformation routeInformation
)

A function to transform the route information routeInformation into another transformed route information RouteInformation. This needs to be implemented when you want to redirect from one route to another based on the received route on the plugin side.

Implementation

Future<RouteInformation?> transformRouteInformation(
        RouteInformation routeInformation) =>
    SynchronousFuture(null);