Mixin for top-level variables and fields (aka properties)
- Implements
- Implemented by
Constructors
Properties
- arrow → String
-
read-only
- canHaveParameters → bool
-
@override, read-only
- genericParameters → String
-
@override, read-only
- getter → Accessor
-
read-only
- getterSetterDocumentationComment → String
-
read-only
- hasExplicitGetter → bool
-
read-only
- hasExplicitSetter → bool
-
read-only
- hasGetter → bool
-
read-only
- hasGetterNoSetter → bool
-
read-only
- hasImplicitSetter → bool
-
read-only
- hasNoGetterSetter → bool
-
read-only
- hasSetter → bool
-
read-only
- linkedParamsNoMetadata → String
-
@override, read-only
- linkedReturnType → String
-
read-only
- parameters → List<Parameter>
-
@override, read-only
- readOnly → bool
-
read-only
- readWrite → bool
-
read-only
- setter → Accessor
-
read-only
- writeOnly → bool
-
read-only
- allParameters → List<Parameter>
-
read-only, inherited
- annotations → List<String>
-
read-only, inherited
- canonicalLibrary → Library
-
read-only, inherited
- definingLibrary → Library
-
read-only, inherited
- documentation → String
-
Returns the docs, stripped of their leading comments syntax.
@override, read-only, inherited
- documentationAsHtml → String
-
@override, read-only, inherited
- documentationFrom → ModelElement
-
Returns the ModelElement from which we will get documentation.
@override, read-only, inherited
- element → Element
-
@override, read-only, inherited
- elementLocation → String
-
@override, read-only, inherited
- exportedInLibraries → Set<Library>
-
read-only, inherited
- features → Set<String>
-
read-only, inherited
- featuresAsString → String
-
read-only, inherited
- fullyQualifiedName → String
-
Returns the fully qualified name.
@override, read-only, inherited
- fullyQualifiedNameWithoutLibrary → String
-
read-only, inherited
- hasAnnotations → bool
-
read-only, inherited
- hasDocumentation → bool
-
@override, read-only, inherited
- hasExtendedDocumentation → bool
-
@override, read-only, inherited
- hashCode → int
-
The hash code for this object.
read-only, inherited
- hasParameters → bool
-
read-only, inherited
- href → String
-
If canonicalLibrary (or canonicalEnclosingElement, for Inheritable
subclasses) is null, href should be null.
@override, read-only, inherited
- htmlId → String
-
read-only, inherited
- isAsynchronous → bool
-
read-only, inherited
- isCanonical → bool
-
@override, read-only, inherited
- isConst → bool
-
read-only, inherited
- isDeprecated → bool
-
read-only, inherited
- isExecutable → bool
-
read-only, inherited
- isFinal → bool
-
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
-
A human-friendly name for the kind of element this is.
read-only, inherited
- library → Library
-
read-only, inherited
- lineAndColumn → Tuple2<int, int>
-
@override, read-only, inherited
- linkedName → String
-
read-only, inherited
- linkedParamsLines → String
-
read-only, inherited
- linkedParamsNoMetadataOrNames → String
-
read-only, inherited
- modelType → ElementType
-
read-only, inherited
- name → String
-
@override, read-only, inherited
- nameWithGenerics → String
-
read-only, inherited
- oneLineDoc → String
-
@override, 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
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sourceFileName → 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
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