handleMethodCall method
Implementation
Future<dynamic> handleMethodCall(MethodCall call) async {
switch (call.method) {
case 'authenticate':
final String url = call.arguments['url'];
return _authenticate(url);
default:
throw PlatformException(
code: 'Unimplemented',
details: "The flutter_web_auth plugin for web doesn't implement "
"the method '${call.method}'");
}
}