ClassMethod constructor
ClassMethod(
- String? name,
- List<
FnParam> params, - List<
Statement?> body, [ - OutputType? type,
- List<
StmtModifier> ? modifiers, - List<
Expression> ? annotations,
Implementation
ClassMethod(
this.name,
this.params,
this.body, [
OutputType? type,
List<StmtModifier>? modifiers,
List<Expression>? annotations,
]) : super(type, modifiers ?? [], annotations ?? []);