replaceWithSuccessPaymentView method

Future replaceWithSuccessPaymentView([
  1. int? routerId,
  2. bool preventDuplicates = true,
  3. Map<String, String>? parameters,
  4. Widget transition(
    1. BuildContext,
    2. Animation<double>,
    3. Animation<double>,
    4. Widget,
    )?,
])

Implementation

Future<dynamic> replaceWithSuccessPaymentView([
  int? routerId,
  bool preventDuplicates = true,
  Map<String, String>? parameters,
  Widget Function(BuildContext, Animation<double>, Animation<double>, Widget)?
      transition,
]) async {
  return replaceWith<dynamic>(Routes.successPaymentView,
      id: routerId,
      preventDuplicates: preventDuplicates,
      parameters: parameters,
      transition: transition);
}