Enum's fields are virtual, so we do a little work to create usable values for the docs.
- Inheritance
- Object
- ModelElement
- Field
- EnumField
Constructors
- EnumField(FieldElement element, Library library)
- EnumField.forConstant(int _index, FieldElement element, Library library)
Properties
- constantValue → String
-
@override, read-only
- documentation → String
-
@override, read-only
- documentationFrom → EnumField
-
@override, read-only
- href → String
-
@override, read-only
- isCanonical → bool
-
@override, read-only
- linkedName → String
-
@override, read-only
- oneLineDoc → String
-
@override, read-only
- allParameters → List<Parameter>
-
read-only, inherited
- annotations → List<String>
-
@override, read-only, inherited
- arrow → String
-
read-only, inherited
- canHaveParameters → bool
-
@override, read-only, inherited
- canonicalEnclosingElement → ModelElement
-
read-only, inherited
- canonicalLibrary → Library
-
read-only, inherited
- constantValueTruncated → String
-
read-only, inherited
- definingEnclosingElement → ModelElement
-
read-only, inherited
- definingLibrary → Library
-
read-only, inherited
- documentationAsHtml → String
-
@override, read-only, inherited
- element → Element
-
@override, read-only, inherited
- elementLocation → String
-
@override, read-only, inherited
- enclosingElement → ModelElement
-
@override, read-only, inherited
- exportedInLibraries → Set<Library>
-
read-only, inherited
- features → Set<String>
-
@override, read-only, inherited
- featuresAsString → String
-
read-only, inherited
- fullyQualifiedName → String
-
Returns the fully qualified name.
@override, read-only, inherited
- fullyQualifiedNameWithoutLibrary → String
-
read-only, inherited
- genericParameters → String
-
@override, read-only, inherited
- getter → Accessor
-
read-only, inherited
- getterSetterDocumentationComment → String
-
read-only, inherited
- hasAnnotations → bool
-
read-only, inherited
- hasDocumentation → bool
-
@override, read-only, inherited
- hasExplicitGetter → bool
-
read-only, inherited
- hasExplicitSetter → bool
-
read-only, inherited
- hasExtendedDocumentation → bool
-
@override, read-only, inherited
- hasGetter → bool
-
@override, read-only, inherited
- hasGetterNoSetter → bool
-
read-only, inherited
- hashCode → int
-
The hash code for this object.
read-only, inherited
- hasImplicitSetter → bool
-
read-only, inherited
- hasNoGetterSetter → bool
-
read-only, inherited
- hasParameters → bool
-
read-only, inherited
- hasSetter → bool
-
@override, read-only, inherited
- htmlId → String
-
read-only, inherited
- inheritance → List<Class>
-
read-only, inherited
- isAsynchronous → bool
-
read-only, inherited
- isConst → bool
-
@override, read-only, inherited
- isDeprecated → bool
-
read-only, inherited
- isExecutable → bool
-
read-only, inherited
- isFinal → bool
-
@override, read-only, inherited
- isInherited → bool
-
@override, read-only, inherited
- isLocalElement → bool
-
read-only, inherited
- isPropertyAccessor → bool
-
read-only, inherited
- isPropertyInducer → bool
-
read-only, inherited
- isStatic → bool
-
read-only, inherited
- kind → String
-
@override, read-only, inherited
- library → Library
-
read-only, inherited
- lineAndColumn → Tuple2<int, int>
-
@override, read-only, inherited
- linkedParamsLines → String
-
read-only, inherited
- linkedParamsNoMetadata → String
-
@override, read-only, inherited
- linkedParamsNoMetadataOrNames → String
-
read-only, inherited
- linkedReturnType → String
-
read-only, inherited
- modelType → ElementType
-
read-only, inherited
- name → String
-
@override, read-only, inherited
- nameWithGenerics → String
-
read-only, inherited
- overriddenDepth → int
-
read-only, inherited
- overriddenDocumentedElement → ModelElement
-
@override, read-only, inherited
- overriddenElement → ModelElement
-
read-only, inherited
- package → Package
-
@override, read-only, inherited
- parameters → List<Parameter>
-
@override, read-only, inherited
- readOnly → bool
-
read-only, inherited
- readWrite → bool
-
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- setter → Accessor
-
read-only, inherited
- sourceFileName → String
-
read-only, inherited
- typeName → String
-
read-only, inherited
- usedElements → Iterable<ModelElement>
-
Gather all the used elements, from the parameters and return type, for example
E.g. method
Iterable
will returnblah(List foo) Iterable, String, List, int
read-only, inherited - writeOnly → bool
-
read-only, inherited
Methods
-
annotationsFromMetadata(
List md) → List<String> -
Returns annotations from a given metadata set, with escaping.
md is a dynamic parameter since ElementAnnotation and Annotation have no
common class for calling toSource() and element.
inherited
-
canOverride(
) → bool -
inherited
-
compareTo(
other) → int -
Compares this object to another
Comparable
inherited -
linkedParams(
{bool showMetadata: true, bool showNames: true, String separator: ', ' }) → String -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
-
warn(
PackageWarning kind, { String message, Locatable referredFrom }) → void -
inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited