ObjectFlagProperty<T>.has constructor
- String name,
- T? value, {
- DiagnosticLevel level = DiagnosticLevel.info,
Shorthand constructor to describe whether the property has a value.
Only use if prefixing the property name with the word 'has' is a good flag name.
Implementation
ObjectFlagProperty.has(
String super.name,
super.value, {
super.level,
}) : ifPresent = 'has $name',
super(
showName: false,
);