generator method

Route generator(
  1. RouteSettings settings
)

Implementation

Route<dynamic> generator(RouteSettings settings) {
  return PageRedirect(settings: settings, unknownRoute: unknownRoute).page();
}