signOut method
Signs the user out of the current device
Accepts advanced options
for the request, which can be used for
global sign out as well as other plugin-specific options
Implementation
Future<SignOutResult> signOut({
SignOutOptions? options,
}) {
var request = SignOutRequest(options: options);
return plugins.length == 1
? plugins[0].signOut(request: request)
: throw _pluginNotAddedException('Auth');
}