KnownContentLabelPrefVisibility enum
Overview
The object representing knownValues
defined in Lexicon as an Enum.
Although the knownValues
defined in Lexicon are not technically Enums,
it is very useful to be able to treat these fields as type safe Enums.
Usage
Get JSON compatible value
// JSON compatible value.
final value = KnownContentLabelPrefVisibility.something.value;
Convert to UContentLabelPrefVisibility
final union = KnownContentLabelPrefVisibility.something.toUnion();
- Inheritance
- Available extensions
Values
- ignore → const KnownContentLabelPrefVisibility
-
const KnownContentLabelPrefVisibility('ignore')
- show → const KnownContentLabelPrefVisibility
-
const KnownContentLabelPrefVisibility('show')
- warn → const KnownContentLabelPrefVisibility
-
const KnownContentLabelPrefVisibility('warn')
- hide → const KnownContentLabelPrefVisibility
-
const KnownContentLabelPrefVisibility('hide')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isHide → bool
-
Available on KnownContentLabelPrefVisibility, provided by the $KnownContentLabelPrefVisibilityExtension extension
Returns true if this value is hide, otherwise false.no setter - isIgnore → bool
-
Available on KnownContentLabelPrefVisibility, provided by the $KnownContentLabelPrefVisibilityExtension extension
Returns true if this value is ignore, otherwise false.no setter - isNotHide → bool
-
Available on KnownContentLabelPrefVisibility, provided by the $KnownContentLabelPrefVisibilityExtension extension
Returns true if this value is not hide, otherwise false.no setter - isNotIgnore → bool
-
Available on KnownContentLabelPrefVisibility, provided by the $KnownContentLabelPrefVisibilityExtension extension
Returns true if this value is not ignore, otherwise false.no setter - isNotShow → bool
-
Available on KnownContentLabelPrefVisibility, provided by the $KnownContentLabelPrefVisibilityExtension extension
Returns true if this value is not show, otherwise false.no setter - isNotWarn → bool
-
Available on KnownContentLabelPrefVisibility, provided by the $KnownContentLabelPrefVisibilityExtension extension
Returns true if this value is not warn, otherwise false.no setter - isShow → bool
-
Available on KnownContentLabelPrefVisibility, provided by the $KnownContentLabelPrefVisibilityExtension extension
Returns true if this value is show, otherwise false.no setter - isWarn → bool
-
Available on KnownContentLabelPrefVisibility, provided by the $KnownContentLabelPrefVisibilityExtension extension
Returns true if this value is warn, otherwise false.no setter - name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
JSON value based on lexicon.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toUnion(
) → UContentLabelPrefVisibility -
Available on KnownContentLabelPrefVisibility, provided by the $KnownContentLabelPrefVisibilityExtension extension
Returns this value as UContentLabelPrefVisibility.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
String? value) → KnownContentLabelPrefVisibility? -
Returns KnownContentLabelPrefVisibility associated with
value
, otherwise null.
Constants
-
values
→ const List<
KnownContentLabelPrefVisibility> - A constant List of the values in this enum, in order of their declaration.