forgetDevice method
Forgets device
, or the current device, if no parameters are given.
Implementation
Future<void> forgetDevice([AuthDevice? device]) {
return plugins.length == 1
? plugins[0].forgetDevice(device)
: throw _pluginNotAddedException('Auth');
}