Revamp Done - Support for Individual and Jwellery module added
This commit is contained in:
@@ -78,6 +78,12 @@ class AuthController extends AsyncNotifier<void> {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> logout() async {
|
||||
try {
|
||||
await DioClient().clearToken();
|
||||
} catch (_) {}
|
||||
}
|
||||
}
|
||||
|
||||
final authControllerProvider = AsyncNotifierProvider<AuthController, void>(() {
|
||||
|
||||
Reference in New Issue
Block a user