shortName property Null safety
Returns the abbreviation of Stat
Implementation
String get shortName {
switch (this) {
case Stat.strength:
return "STR";
case Stat.magic:
return "MAG";
case Stat.endurance:
return "END";
case Stat.agility:
return "AGI";
case Stat.luck:
return "LUK";
}
}