go<R, P extends RouteParams> method

Future<R?> go<R, P extends RouteParams>(
  1. BuildContext context, {
  2. P? args,
  3. bool replace = false,
  4. bool useRootNavigator = false,
})

Implementation

Future<R?> go<R, P extends RouteParams>(BuildContext context,
    {P? args, bool replace = false, bool useRootNavigator = false}) async {
  final dynamic rtn = await this.route.go(context,
      args: args, replace: replace, useRootNavigator: useRootNavigator);
  return rtn as R?;
}