Parameter class
Configuration for defining a parameter.
Constructors
-
Parameter({Reference? type, required String name, Element? assign, bool isRequired = false, bool isToThis = false, bool isToSuper = false, ParameterKind? kind, Iterable<
Annotation> annotations = const []}) -
Configuration for defining a parameter.
const
Properties
-
annotations
→ Iterable<
Annotation> -
The annotations of this parameter.
final
- assign → Element?
-
The statement used to assign a value to this parameter.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRequired → bool
-
Whether this parameter is required.
final
- isToSuper → bool
-
Whether this field references
super
.final - isToThis → bool
-
Whether this field references
this
.final - kind → ParameterKind?
-
What kind of parameter this is.
final
- name → String
-
The name of this parameter.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - type → Reference?
-
The type of this parameter.
final
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