ImperativeRouteMatch constructor

ImperativeRouteMatch({
  1. required ValueKey<String> pageKey,
  2. required RouteMatchList matches,
  3. required Completer<Object?> completer,
})

Constructor for ImperativeRouteMatch.

Implementation

ImperativeRouteMatch({required super.pageKey, required this.matches, required this.completer})
  : super(
      route: _getsLastRouteFromMatches(matches),
      matchedLocation: _getsMatchedLocationFromMatches(matches),
    );