chargeCard method
Future<String?>
chargeCard(
- BuildContext context, {
- required String amount,
- required String accountType,
- required ConnectivityType connectivityType,
override
Implementation
@override
Future<String?> chargeCard(BuildContext context,
{required String amount,
required String accountType,
required ConnectivityType connectivityType}) async {
var args = <String, dynamic>{
"amount": amount,
'account_type': '00',
};
final res =
await methodChannel.invokeMethod<String>('startTransaction', args);
return res;
}