refactoring

This commit is contained in:
dahoud
2026-03-31 09:14:47 +00:00
parent 9bfffeeebe
commit 5383df6dcb
200 changed files with 11192 additions and 7063 deletions

View File

@@ -35,6 +35,7 @@ class NotificationRepositoryImpl implements NotificationRepository {
}
return [];
} on DioException catch (e) {
if (e.type == DioExceptionType.cancel) rethrow;
if (e.response?.statusCode == 404) return [];
rethrow;
}
@@ -51,6 +52,7 @@ class NotificationRepositoryImpl implements NotificationRepository {
}
return [];
} on DioException catch (e) {
if (e.type == DioExceptionType.cancel) rethrow;
if (e.response?.statusCode == 404) return [];
rethrow;
}
@@ -69,6 +71,7 @@ class NotificationRepositoryImpl implements NotificationRepository {
}
return [];
} on DioException catch (e) {
if (e.type == DioExceptionType.cancel) rethrow;
if (e.response?.statusCode == 404) return [];
rethrow;
}
@@ -87,6 +90,7 @@ class NotificationRepositoryImpl implements NotificationRepository {
}
return [];
} on DioException catch (e) {
if (e.type == DioExceptionType.cancel) rethrow;
if (e.response?.statusCode == 404) return [];
rethrow;
}
@@ -101,6 +105,7 @@ class NotificationRepositoryImpl implements NotificationRepository {
}
return null;
} on DioException catch (e) {
if (e.type == DioExceptionType.cancel) rethrow;
if (e.response?.statusCode == 404) return null;
rethrow;
}