EnableReflection class

Enables reflection for a class.

Annotations
  • @Target({TargetKind.classType, TargetKind.enumType})

Constructors

EnableReflection({String reflectionClassName = '', String reflectionExtensionName = '', bool optimizeReflectionInstances = true})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
optimizeReflectionInstances bool
If true the ClassReflection implementation will use a factory constructor and cache the instances by object in an Expando. Default: true
final
reflectionClassName String
Name of the generated reflection class (optional).
final
reflectionExtensionName String
Name of the generated reflection extension (optional).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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