ASTModifiers class

Modifiers of an ASTNode element.

Available Extensions

Constructors

ASTModifiers({bool isStatic = false, bool isFinal = false, bool isPrivate = false, bool isPublic = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
isFinal bool
final
isPrivate bool
final
isPublic bool
final
isStatic bool
final
modifiers List<String>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? isStatic, bool? isFinal, bool? isPrivate, bool? isPublic}) ASTModifiers
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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