DartClass class

Inheritance
Mixed-in types
Available extensions

Constructors

DartClass({int depth = 0, String className = '', String? parentClass, InjectCodeUnit? injectedJavaCodes, bool isAbstract = false, List<Variable> fields = const [], List<Method> methods = const [], bool hasConstructor = false})

Properties

className String
getter/setter pair
depth int
finalinherited
fields List<Variable>
getter/setter pair
hasConstructor bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
injectedJavaCodes InjectCodeUnit?
getter/setter pair
isAbstract bool
getter/setter pair
methods List<Method>
getter/setter pair
parentClass String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() String
override
classSignature() OneLine
cloneDartCollectionType({List<Method> methods = const [], List<Variable> fields = const [], int depth = 0}) List<OneLine>

Available on CodeUnit, provided by the CodeUnitExtension extension

collectModels(List<String> names) List<Model>
inherited
dartFields() List<CodeUnit>
depthTabs() String
inherited
handlerJavaCollectionType({List<Method> methods = const [], List<Variable> fields = const [], int depth = 0}) List<OneLine>

Available on CodeUnit, provided by the CodeUnitExtension extension

handlerOCCollectionType({List<Method> methods = const [], List<Variable> fields = const [], int depth = 0}) List<OneLine>

Available on CodeUnit, provided by the CodeUnitExtension extension

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