initialRoutesGenerate method

List<Route> initialRoutesGenerate(
  1. String name
)

Implementation

List<Route<dynamic>> initialRoutesGenerate(String name) {
  return [
    PageRedirect(
      settings: RouteSettings(name: name),
      unknownRoute: unknownRoute,
    ).page()
  ];
}