DartClass constructor

DartClass({
  1. int depth = 0,
  2. String className = '',
  3. String? parentClass,
  4. InjectCodeUnit? injectedJavaCodes,
  5. bool isAbstract = false,
  6. List<Variable> fields = const [],
  7. List<Method> methods = const [],
  8. bool hasConstructor = false,
})

Implementation

DartClass({
  int depth = 0,
  this.className = '',
  this.parentClass,
  this.injectedJavaCodes,
  this.isAbstract = false,
  this.fields = const [],
  this.methods = const [],
  this.hasConstructor = false,
}) : super(depth);