signOut method

  1. @override
Future<void> signOut()
override

Implementation

@override
Future<void> signOut() async {
  try {
    await _account.deleteSessions();
    debugPrint('User signed out');
  } on AppwriteException catch (e) {
    throw Exception('Failed to sign out: ${e.message}');
  }
}