KnownDeclarationAllowIncoming 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 = KnownDeclarationAllowIncoming.something.value;
Convert to UDeclarationAllowIncoming
final union = KnownDeclarationAllowIncoming.something.toUnion();
- Inheritance
- Available extensions
Values
- all → const KnownDeclarationAllowIncoming
-
const KnownDeclarationAllowIncoming('all')
- none → const KnownDeclarationAllowIncoming
-
const KnownDeclarationAllowIncoming('none')
- following → const KnownDeclarationAllowIncoming
-
const KnownDeclarationAllowIncoming('following')
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
String? value) → KnownDeclarationAllowIncoming? -
Returns KnownDeclarationAllowIncoming associated with
value
, otherwise null.
Constants
-
values
→ const List<
KnownDeclarationAllowIncoming> - A constant List of the values in this enum, in order of their declaration.