onGenerateRoute property Null safety

RouteFactory? onGenerateRoute
final

Implementation

final RouteFactory? onGenerateRoute;