fromName static method
Implementation
static Characters fromName(String name) {
for (var character in Characters.values) {
if (character.character.charactername == name) {
return character;
}
}
return Characters.None;
}
static Characters fromName(String name) {
for (var character in Characters.values) {
if (character.character.charactername == name) {
return character;
}
}
return Characters.None;
}