EnumProperty<T extends Enum?> constructor
- String name,
- T? value, {
- Object? defaultValue = kNoDefaultValue,
- DiagnosticLevel level = DiagnosticLevel.info,
Create a diagnostics property that displays an enum.
The level
argument must also not be null.
Implementation
EnumProperty(
String super.name,
super.value, {
super.defaultValue,
super.level,
});