rarityEnum property
String
get
rarityEnum
get rarity enum
Implementation
String get rarityEnum {
List fields = templateId.split(":")[1].split("_");
fields.removeAt(0);
fields.removeLast();
return type == "manager" ? fields.first : fields.last;
}