handleMethodCall method
Handles method calls over platform channel
Implementation
Future<Map<dynamic, dynamic>> handleMethodCall(MethodCall call) async {
switch (call.method) {
case 'open':
return await startPayment(call.arguments);
case 'resync':
default:
var defaultMap = {'status': 'Not implemented on web'};
return defaultMap;
}
}