Field class

Inheritance

Constructors

Field({required VariableName name, bool isConst = false, bool isFinal = false, bool isStatic = false, bool isVariable = false, TypeName type = TypeName.empty})

Properties

hashCode int
The hash code for this object.
no setterinherited
hasType bool
no setter
isConst bool
final
isFinal bool
final
isStatic bool
final
isVariable bool
final
name VariableName
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type TypeName
final

Methods

code() String
override
decorate(String code) String
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
writeTo(File file) Future<void>
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited