ReflectionBridge class

Indicates that a class is a reflection bridge of Types in classesTypes List.

Annotations
  • @Target({TargetKind.classType})

Constructors

ReflectionBridge(List<Type> classesTypes, {String bridgeExtensionName = '', Map<Type, String> reflectionClassNames = const <Type, String>{}, Map<Type, String> reflectionExtensionNames = const <Type, String>{}, bool optimizeReflectionInstances = true})
const

Properties

bridgeExtensionName String
Name of the generated reflection bridge extension (optional).
final
classesTypes List<Type>
List of classes to generate/enable reflection.
final
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
reflectionClassNames Map<Type, String>
Name of the generated reflection class for classesTypes (optional). See EnableReflection.reflectionClassName.
final
reflectionExtensionNames Map<Type, String>
Name of the generated reflection extension for classesTypes (optional). See EnableReflection.reflectionExtensionName.
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