MMirrorConfig class

定义Class生成器注解 dart特殊机制 自动化的入口 最好为lib/mirror_config.dart 内初始化速度最快

Implementers

Constructors

MMirrorConfig({bool isGenInvoker = true, bool isGenLibExport = false, Map<String, String> importLibsNames = const {}, List<MImport> imports = const [], int genGroupBy = GEN_GROUP_BY_NONE})
const

Properties

genGroupBy int
自动根据不同策略生成调用器的顺序,有可能增加调用器的执行效率 暂未实现
final
hashCode int
The hash code for this object.
no setterinherited
importLibsNames Map<String, String>
需要扫描的类库
final
imports List<MImport>
导包时的完整自定义类库信息
final
isGenInvoker bool
是否生成执行内容 生成Register
final
isGenLibExport bool
是否生成lib库文件 包含所有的注解的类
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

Constants

GEN_GROUP_BY_NONE → const int
GEN_GROUP_BY_SCHEME → const int