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