Parameter class Null safety
A Parameter
is a representation of a function parameter.
See Instance.
Constructors
- Parameter({InstanceRef? parameterType, bool? fixed, String? name, bool? required})
Properties
- fixed ↔ bool?
-
Represents whether or not this parameter is fixed or optional.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- name ↔ String?
-
The name of a named optional parameter.
optional">@optionalread / write
- parameterType ↔ InstanceRef?
-
The type of the parameter.
read / write
- required ↔ bool?
-
Whether or not this named optional parameter is marked as required.
optional">@optionalread / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited