EasyCoder class
Json序列化的数据模型的生成器、虚拟机桥接类型的生成器
- Inheritance
-
- Object
- EasyLogger
- EasyCoder
Constructors
- EasyCoder({required EasyCoderConfig config})
Properties
Methods
-
generateBaseExports(
{String outputFile = 'all'}) → void - 生成基本模型导出文件
-
generateModel(
EasyCoderModelInfo modelInfo, {List< String> headerComments = const []}) → void - 生成数据库模型
-
generateVmLibraries(
{String outputFile = 'bridges_library', List< String> importList = const [], String className = 'BridgesLibrary', String classDesc = 'BridgesLibrary', required List<String> libraryPaths, List<String> privatePaths = const [], Map<String, List< ignoreIssueClass = const {}, List<String> >String> ignoreIssuePaths = defaultIgnoreIssuePaths, List<String> ignoreProxyObject = defaultIgnoreProxyObject, List<String> ignoreProxyCaller = defaultIgnoreProxyCaller, List<String> ignoreExtensionOn = defaultIgnoreExtensionOn, Map<String, List< includePathClass = const {}, Map<String> >String, List< excludePathClass = const {}, bool removeNotFoundPrivateParams = true, bool genByExternal = true}) → voidString> > - 生成文件夹下的桥接类
-
generateWrapBuilder(
{String outputFile = 'wrapper_builder', List< String> importList = const [], String className = 'WrapperBuilder', String? wrapBaseClass, bool exportFile = true}) → void - 生成包装模型构建器类
-
logDebug(
List args) → void -
inherited
-
logError(
List args) → void -
inherited
-
logFatal(
List args) → void -
inherited
-
logInfo(
List args) → void -
inherited
-
logTrace(
List args) → void -
inherited
-
logVmLibrarydErrors(
) → void - 统一打印桥接库生成时的错误
-
logWarn(
List args) → void -
inherited
-
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
Static Methods
-
firstUpperCaseName(
String name) → String -
将
name
的第一个字母改为大写
Constants
-
defaultIgnoreExtensionOn
→ const List<
String> -
defaultIgnoreIssuePaths
→ const List<
String> -
defaultIgnoreProxyCaller
→ const List<
String> -
defaultIgnoreProxyObject
→ const List<
String>