ClassStmt constructor

ClassStmt(
  1. String name,
  2. Expression? parent,
  3. List<ClassField> fields,
  4. List<ClassGetter> getters,
  5. Constructor? constructorMethod,
  6. List<ClassMethod> methods, {
  7. List<TypeParameter> typeParameters = const [],
})

Implementation

ClassStmt(
  this.name,
  this.parent,
  this.fields,
  this.getters,
  this.constructorMethod,
  this.methods, {
  this.typeParameters = const [],
});