DeclareFunctionStmt constructor

DeclareFunctionStmt(
  1. String name,
  2. List<FnParam> params,
  3. List<Statement> statements, {
  4. List<Expression> annotations = const [],
  5. OutputType? type,
  6. List<TypeParameter> typeParameters = const [],
  7. bool isGetter = false,
})

Implementation

DeclareFunctionStmt(
  this.name,
  this.params,
  this.statements, {
  this.annotations = const [],
  this.type,
  this.typeParameters = const [],
  this.isGetter = false,
});