MethodMirror class - dart:mirrors library (original) (raw)
A MethodMirror reflects a Dart language function, method, constructor, getter, or setter.
Implemented types
Constructors
Properties
The constructor name for named constructors and factory methods.
no setter
The hash code for this object.
no setterinherited
Is the reflectee abstract?
no setter
Is the reflectee a const constructor?
no setter
Is the reflectee a constructor?
no setter
Is the reflectee an extension method?
no setter
Is the reflectee an extension type method?
no setter
Is the reflectee a factory constructor?
no setter
isGenerativeConstructor → bool
Is the reflectee a generative constructor?
no setter
Is the reflectee a getter?
no setter
Is the reflectee an operator?
no setter
Whether this declaration is library private.
no setterinherited
isRedirectingConstructor → bool
Is the reflectee a redirecting constructor?
no setter
Is the reflectee a regular function or method?
no setter
Is the reflectee a setter?
no setter
A function is considered non-static iff it is permitted to refer to 'this'.
no setter
Returns true if the reflectee is synthetic, and returns false otherwise.
no setter
Whether this declaration is top-level.
no setterinherited
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
A mirror on the owner of this Dart language entity.
no setterinherited
parameters → List<ParameterMirror>
A list of mirrors on the parameters for the reflectee.
no setter
The fully-qualified name for this Dart language entity.
no setterinherited
A mirror on the return type for the reflectee.
no setter
A representation of the runtime type of the object.
no setterinherited
The simple name for this Dart language entity.
no setterinherited
The source code for the reflectee, if available. Otherwise null.
no setter
Methods
noSuchMethod(Invocation invocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
A string representation of this object.
inherited
Operators
operator ==(Object other)→ bool
Whether this mirror is equal to other.
override