replaceWithHomeView method

Future replaceWithHomeView({
  1. Key? key,
  2. required NimbblCheckoutOptions options,
  3. int? routerId,
  4. bool preventDuplicates = true,
  5. Map<String, String>? parameters,
  6. Widget transition(
    1. BuildContext,
    2. Animation<double>,
    3. Animation<double>,
    4. Widget,
    )?,
})

Implementation

Future<dynamic> replaceWithHomeView({
  _i12.Key? key,
  required _i14.NimbblCheckoutOptions options,
  int? routerId,
  bool preventDuplicates = true,
  Map<String, String>? parameters,
  Widget Function(BuildContext, Animation<double>, Animation<double>, Widget)?
      transition,
}) async {
  return replaceWith<dynamic>(Routes.homeView,
      arguments: HomeViewArguments(key: key, options: options),
      id: routerId,
      preventDuplicates: preventDuplicates,
      parameters: parameters,
      transition: transition);
}