ClassType.name constructor
ClassType.name(
- String typeName
Implementation
factory ClassType.name(String typeName) {
var find = values.firstWhereOrNull((element) => element.value == typeName);
if (find == null) {
print(typeName);
throw typeName;
}
return find;
}