isEnum function
Implementation
bool isEnum(DartType type) {
final element = type.element;
if (element is ClassElement) {
return element.isEnum;
}
return false;
}
bool isEnum(DartType type) {
final element = type.element;
if (element is ClassElement) {
return element.isEnum;
}
return false;
}