add auth, format

This commit is contained in:
Phuoc Nguyen
2025-11-07 11:52:06 +07:00
parent 24a8508fce
commit 3803bd26e0
173 changed files with 8505 additions and 7116 deletions

View File

@@ -156,7 +156,8 @@ class ProjectSubmission {
/// Check if submission has been reviewed
bool get isReviewed =>
status == SubmissionStatus.approved || status == SubmissionStatus.rejected;
status == SubmissionStatus.approved ||
status == SubmissionStatus.rejected;
/// Check if submission has before photos
bool get hasBeforePhotos => beforePhotos.isNotEmpty;
@@ -229,13 +230,7 @@ class ProjectSubmission {
@override
int get hashCode {
return Object.hash(
submissionId,
userId,
projectName,
projectValue,
status,
);
return Object.hash(submissionId, userId, projectName, projectValue, status);
}
@override