Award constructor
- {required String description,
- required String formalName,
- required FluentData icon,
- int? timeUnlocked}
Implementation
Award(
{required String description,
required String formalName,
required FluentData icon,
int? timeUnlocked})
: _description = description,
_formalName = formalName,
_icon = icon,
_timeUnlocked = timeUnlocked ?? -1 {
final String id =
formalName.toLowerCase().trim().replaceAll(" ", "_");
Debug().info(
"Registered Award: $_formalName as $id (IS UNLOCKED? $isUnlocked)");
}