Spec-Zone.ru › Dart 2

dart:mirrors

ParameterMirror class

A ParameterMirror reflects a Dart formal parameter declaration.

Implemented types
  • VariableMirror

Constructors

ParameterMirror()

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed.
toString() → String
inherited
A string representation of this object.

Operators

operator ==(Object other) → bool
inherited
The equality operator.

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-mirrors/ParameterMirror-class.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API