ParameterMirror class abstract
A ParameterMirror reflects a Dart formal parameter declaration.
- Implemented types
Constructors
Properties
- defaultValue → InstanceMirror?
-
Returns the default value of an optional parameter.
no setter
- hasDefaultValue → bool
-
Returns
true
if the reflectee has explicitly declared a default value. Otherwise returnsfalse
.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- isConst → bool
-
Returns
true
if the reflectee is declaredconst
. Otherwise returnsfalse
.no setterinherited - isExtensionMember → bool
-
Is the reflectee an extension member?
no setterinherited
- isExtensionTypeMember → bool
-
Is the reflectee an extension type member?
no setterinherited
- isFinal → bool
-
Returns
true
if the reflectee is a final variable. Otherwise returnsfalse
.no setterinherited - isNamed → bool
-
Returns
true
if the reflectee is a named parameter. Otherwise returnsfalse
.no setter - isOptional → bool
-
Returns
true
if the reflectee is an optional parameter. Otherwise returnsfalse
.no setter - isPrivate → bool
-
Whether this declaration is library private.
no setterinherited
- isStatic → bool
-
Returns
true
if the reflectee is a static variable. Otherwise returnsfalse
.no setterinherited - isTopLevel → bool
-
Whether this declaration is top-level.
no setterinherited
- location → SourceLocation?
-
The source location of this Dart language entity, or
null
if the entity is synthetic.no setterinherited -
metadata
→ List<
InstanceMirror> -
A list of the metadata associated with this declaration.
no setterinherited
- owner → DeclarationMirror?
-
A mirror on the owner of this Dart language entity.
no setterinherited
- qualifiedName → Symbol
-
The fully-qualified name for this Dart language entity.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- simpleName → Symbol
-
The simple name for this Dart language entity.
no setterinherited
- type → TypeMirror
-
A mirror on the type of this parameter.
no setteroverride
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