ClassField constructor

ClassField(
  1. String name, {
  2. OutputType? outputType,
  3. List<StmtModifier>? modifiers,
  4. List<Expression>? annotations,
  5. Expression? initializer,
})

Implementation

ClassField(this.name,
    {OutputType? outputType,
    List<StmtModifier>? modifiers,
    List<Expression>? annotations,
    this.initializer})
    : super(outputType, modifiers ?? [], annotations ?? []);