callHandler static method
Implementation
static Future<dynamic> callHandler(MethodCall methodCall) async {
switch (methodCall.method) {
case 'paymentResult':
_validateResponse(methodCall.arguments.toString());
return true;
case 'exception':
_responseListener!.onPaymentException(
AppLocalizations.current.athmExceptionTitle,
AppLocalizations.current.athmExceptionMessage);
return true;
case 'sendPaymentResult':
print("sendPaymentResult");
return true;
default:
return false;
}
}