navigateToKKiaPay method

Future navigateToKKiaPay({
  1. Key? key,
  2. required int amount,
  3. required String reason,
  4. String? phone,
  5. String? name,
  6. String? email,
  7. String? data,
  8. String? partnerId,
  9. required dynamic callback(
    1. Map<String, dynamic>,
    2. BuildContext
    ),
  10. String? callbackUrl,
  11. required String apikey,
  12. required bool? sandbox,
  13. String? theme,
  14. List<String>? countries,
  15. List<String>? paymentMethods,
  16. int? routerId,
  17. bool preventDuplicates = true,
  18. Map<String, String>? parameters,
  19. Widget transition(
    1. BuildContext,
    2. Animation<double>,
    3. Animation<double>,
    4. Widget,
    )?,
})

Implementation

Future<dynamic> navigateToKKiaPay({
  _i3.Key? key,
  required int amount,
  required String reason,
  String? phone,
  String? name,
  String? email,
  String? data,
  String? partnerId,
  required dynamic Function(
    Map<String, dynamic>,
    _i3.BuildContext,
  ) callback,
  String? callbackUrl,
  required String apikey,
  required bool? sandbox,
  String? theme,
  List<String>? countries,
  List<String>? paymentMethods,
  int? routerId,
  bool preventDuplicates = true,
  Map<String, String>? parameters,
  Widget Function(BuildContext, Animation<double>, Animation<double>, Widget)?
      transition,
}) async {
  return navigateTo<dynamic>(Routes.kKiaPay,
      arguments: KKiaPayArguments(
          key: key,
          amount: amount,
          reason: reason,
          phone: phone,
          name: name,
          email: email,
          data: data,
          partnerId: partnerId,
          callback: callback,
          callbackUrl: callbackUrl,
          apikey: apikey,
          sandbox: sandbox,
          theme: theme,
          countries: countries,
          paymentMethods: paymentMethods),
      id: routerId,
      preventDuplicates: preventDuplicates,
      parameters: parameters,
      transition: transition);
}