ExecutableParameterDeclaration class sealed
Represents an executable parameter declaration
- Implemented types
- Available extensions
- Annotations
-
- @freezed
Constructors
Properties
-
copyWith
→ $ExecutableParameterDeclarationCopyWith<
ExecutableParameterDeclaration> -
Create a copy of ExecutableParameterDeclaration
with the given fields replaced by the non-null parameter values.
no setterinherited
-
entryPoints
→ Set<
String> ? -
ExecutableParameterDeclarations can't have entry points
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDeprecated → bool
-
whether the parameter is deprecated
no setterinherited
- isExperimental → bool
-
whether the parameter is experimental
no setterinherited
- isNamed → bool
-
whether the parameter is named
no setterinherited
- isRequired → bool
-
whether the parameter is required
no setterinherited
- name → String
-
the name of the parameter
no setterinherited
- relativePath → String
-
the relative path of the library
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeFullLibraryName → String?
-
the type library path
no setterinherited
- typeName → String
-
type name of this parameter
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_ExecutableParameterDeclaration value)) → TResult -
Available on ExecutableParameterDeclaration, provided by the ExecutableParameterDeclarationPatterns extension
Aswitch
-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_ExecutableParameterDeclaration value)?) → TResult? -
Available on ExecutableParameterDeclaration, provided by the ExecutableParameterDeclarationPatterns extension
A variant ofmap
that fallback to returningnull
. -
maybeMap<
TResult extends Object?> (TResult $default(_ExecutableParameterDeclaration value)?, {required TResult orElse()}) → TResult -
Available on ExecutableParameterDeclaration, provided by the ExecutableParameterDeclarationPatterns extension
A variant ofmap
that fallback to returningorElse
. -
maybeWhen<
TResult extends Object?> (TResult $default(bool isRequired, bool isNamed, String name, bool isDeprecated, bool isExperimental, String typeName, String? typeFullLibraryName, String relativePath)?, {required TResult orElse()}) → TResult -
Available on ExecutableParameterDeclaration, provided by the ExecutableParameterDeclarationPatterns extension
A variant ofwhen
that fallback to anorElse
callback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(bool isRequired, bool isNamed, String name, bool isDeprecated, bool isExperimental, String typeName, String? typeFullLibraryName, String relativePath)) → TResult -
Available on ExecutableParameterDeclaration, provided by the ExecutableParameterDeclarationPatterns extension
Aswitch
-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(bool isRequired, bool isNamed, String name, bool isDeprecated, bool isExperimental, String typeName, String? typeFullLibraryName, String relativePath)?) → TResult? -
Available on ExecutableParameterDeclaration, provided by the ExecutableParameterDeclarationPatterns extension
A variant ofwhen
that fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited