ClassGetter constructor

ClassGetter(
  1. String name,
  2. List<Statement> body, [
  3. OutputType? type,
  4. List<StmtModifier>? modifiers,
  5. List<Expression>? annotations,
])

Implementation

ClassGetter(
  this.name,
  this.body, [
  OutputType? type,
  List<StmtModifier>? modifiers,
  List<Expression>? annotations,
]) : super(type, modifiers ?? [], annotations ?? []);