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