ParameterMirror class - dart:mirrors library (original) (raw)

A ParameterMirror reflects a Dart formal parameter declaration.

Implemented types

Constructors

ParameterMirror()

Properties

defaultValueInstanceMirror?

Returns the default value of an optional parameter.

no setter

hasDefaultValuebool

Returns true if the reflectee has explicitly declared a default value. Otherwise returns false.

no setter

hashCodeint

The hash code for this object.

no setterinherited

isConstbool

Returns true if the reflectee is declared const. Otherwise returns false.

no setterinherited

isExtensionMemberbool

Is the reflectee an extension member?

no setterinherited

isExtensionTypeMemberbool

Is the reflectee an extension type member?

no setterinherited

isFinalbool

Returns true if the reflectee is a final variable. Otherwise returns false.

no setterinherited

isNamedbool

Returns true if the reflectee is a named parameter. Otherwise returns false.

no setter

isOptionalbool

Returns true if the reflectee is an optional parameter. Otherwise returns false.

no setter

isPrivatebool

Whether this declaration is library private.

no setterinherited

isStaticbool

Returns true if the reflectee is a static variable. Otherwise returns false.

no setterinherited

isTopLevelbool

Whether this declaration is top-level.

no setterinherited

locationSourceLocation?

The source location of this Dart language entity, or null if the entity is synthetic.

no setterinherited

metadataList<InstanceMirror>

A list of the metadata associated with this declaration.

no setterinherited

ownerDeclarationMirror?

A mirror on the owner of this Dart language entity.

no setterinherited

qualifiedNameSymbol

The fully-qualified name for this Dart language entity.

no setterinherited

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

simpleNameSymbol

The simple name for this Dart language entity.

no setterinherited

typeTypeMirror

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