signOut method
Implementation
Future<void> signOut() async {
try {
await _forgetDevice().timeout(_forgetDeviceTimeout);
} on TimeoutException {
dev.log(
'Removing the push token took over '
'${_forgetDeviceTimeout.inMilliseconds} ms; signing out without it',
name: 'SignOutService',
);
} catch (e) {
dev.log('Could not remove the push token: $e', name: 'SignOutService');
}
await _endSession();
}