doPayment method
Future<Map?>
doPayment({
- required AuropayBuilder builder,
- required double amount,
- String? orderId,
override
doPayment @param AuropayBuilder
initiate payment with platform specific chanel and required data
Implementation
@override
Future<Map<dynamic, dynamic>?> doPayment(
{required AuropayBuilder builder,
required double amount,
String? orderId}) async {
final version = await methodChannel.invokeMethod<Map<dynamic, dynamic>>(
'do_payment', builder.toJson(amount, orderId: orderId));
return version;
}