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
collectModels(List<String> names) List<Model>
inherited
dartFields() List<CodeUnit>
depthTabs() String
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