EasyCoder class

Json序列化的数据模型的生成器、虚拟机桥接类型的生成器

Inheritance

Constructors

EasyCoder({required EasyCoderConfig config})

Properties

hashCode int
The hash code for this object.
no setterinherited
logTag String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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<String>> ignoreIssueClass = const {}, List<String> ignoreIssuePaths = defaultIgnoreIssuePaths, List<String> ignoreProxyObject = defaultIgnoreProxyObject, List<String> ignoreProxyCaller = defaultIgnoreProxyCaller, List<String> ignoreExtensionOn = defaultIgnoreExtensionOn, Map<String, List<String>> includePathClass = const {}, Map<String, List<String>> excludePathClass = const {}, bool removeNotFoundPrivateParams = true, bool genByExternal = true}) → void
生成文件夹下的桥接类
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的第一个字母改为大写