Initial scaffold: FocusFlow shared Dart package

Models (Task, Streak, StreakEntry, Reward, User, TimeEstimate, CoworkingRoom, ApiResponse),
enums (EnergyLevel, TaskStatus, RewardType, RewardStyle),
constants (ApiConstants, ErrorCodes, AppLimits), validators, and generated .g.dart files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Oracle Public Cloud User
2026-03-04 15:50:26 +00:00
commit 1363f7d12d
32 changed files with 1197 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
enum EnergyLevel {
low,
medium,
high;
String get displayName {
switch (this) {
case EnergyLevel.low: return 'Low Energy';
case EnergyLevel.medium: return 'Medium Energy';
case EnergyLevel.high: return 'High Energy';
}
}
}