SourceElementType enum

The different types of Dart SourceElements that can be found in a source file.

Inheritance

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

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.