SimpleParameterNode class
A simple parameter.
- Inheritance
-
- Object
- DartNode
- ParameterNode
- SimpleParameterNode
Constructors
-
SimpleParameterNode({required String name, TypeNode? type, ExpressionNode? defaultValue, List<
AnnotationNode> metadata = const [], bool isNamed = false, bool isRequired = false, bool isFinal = false, bool isVar = false, bool isThis = false, bool isSuper = false}) -
const
Properties
- defaultValue → ExpressionNode?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFinal → bool
-
finalinherited
- isNamed → bool
-
finalinherited
- isRequired → bool
-
finalinherited
- isSuper → bool
-
finalinherited
- isThis → bool
-
finalinherited
- isVar → bool
-
finalinherited
-
metadata
→ List<
AnnotationNode> -
finalinherited
- name → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → TypeNode?
-
finalinherited
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