made use of first class citizen objects as json validator functions

This commit is contained in:
2025-01-03 13:32:42 +00:00
parent 2210fe4bb1
commit aac9c8af4f
21 changed files with 122 additions and 92 deletions
@@ -25,7 +25,7 @@ class TimeEntryCreate with _$TimeEntryCreate {
const factory TimeEntryCreate({
String? id,
required DateTime startTime,
DateTime? endTime,
DateTime? endTime,
String? description,
required String userId,
required String projectId,