SourceElementType enum
The different types of Dart SourceElements that can be found in a source file.
Constructors
- SourceElementType()
-
const
Values
- classType → const SourceElementType
-
A class
- fieldType → const SourceElementType
-
A field variable of a class.
- constructorType → const SourceElementType
-
A constructor for a class.
- methodType → const SourceElementType
-
A method of a class.
- typedefType → const SourceElementType
-
A function typedef
- topLevelVariableType → const SourceElementType
-
A top level (non-class) variable.
- functionType → const SourceElementType
-
A function, either top level, or embedded in another function.
- unknownType → const SourceElementType
-
An unknown type used for initialization.
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
Constants
-
values
→ const List<
SourceElementType> - A constant List of the values in this enum, in order of their declaration.