clearAllDanglingCalls method

  1. @override
Future clearAllDanglingCalls()
override

The plugin may need to store the resulting callbacks in order to pass the result back to the caller of authenticate. But if that result never comes the callback will dangle around forever. This can be called to terminate all authenticate calls with an error.

Implementation

@override
Future clearAllDanglingCalls() async {
  throw PlatformException(
    message: 'Platform either unsupported or unrecognised.',
    code: 'UNSUPPORTED',
  );
}