EasyCoder class
Json序列化的数据模型的生成器、虚拟机桥接类型的生成器
- Inheritance
-
- Object
- EasyLogger
- EasyCoder
Constructors
- EasyCoder({required EasyCoderConfig config})
Properties
Methods
-
generateBaseExports(
{String outputFile = 'all'}) → void - 生成基本模型导出文件
-
generateModel(
EasyCoderModelInfo modelInfo) → void - 生成数据库模型
-
generateVmLibraries(
{String outputFile = 'bridges_library', List< String> importList = const [], String className = 'BridgesLibrary', String classDesc = 'BridgesLibrary', required List<String> libraryPaths, List<String> privatePaths = const [], List<String> ignoreIssuePaths = const ['/dart-sdk/lib/core/null.dart', '/flutter/lib/src/services/dom.dart', '/flutter/lib/src/widgets/window.dart', '/flutter/lib/src/cupertino/toggleable.dart', '_web.dart'], Map<String, List< ignoreIssueClass = const {}, List<String> >String> ignoreProxyObject = const ['Iterable.asNameMap', 'Iterable.byName', 'Iterable.wait', 'PlatformViewController.disposePostFrame', 'ToggleablePainter.isActive'], List<String> ignoreProxyCaller = const ['CupertinoRadio.new', 'Radio.new', 'Radio.adaptive', 'RadioListTile.new', 'RadioListTile.adaptive', 'RadioMenuButton.new', 'SharedAppData.getValue', 'GestureRecognizerFactoryWithHandlers.new', 'PaginatedDataTable.new', 'ImageProvider.loadImage', 'WidgetInspectorService.initServiceExtensions', 'Autocomplete.new', 'RawAutocomplete.new'], List<String> ignoreExtensionOn = const ['Object'], 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
的第一个字母改为大写