FuncTypeExpr constructor

FuncTypeExpr(
  1. TypeExpr returnType, {
  2. List<GenericTypeParameterExpr> genericTypeParameters = const [],
  3. List<ParamTypeExpr> paramTypes = const [],
  4. bool hasOptionalParam = false,
  5. bool hasNamedParam = false,
  6. bool isLocal = true,
  7. HTSource? source,
  8. int line = 0,
  9. int column = 0,
  10. int offset = 0,
  11. int length = 0,
})

Implementation

FuncTypeExpr(
  this.returnType, {
  this.genericTypeParameters = const [],
  this.paramTypes = const [],
  this.hasOptionalParam = false,
  this.hasNamedParam = false,
  this.isLocal = true,
  super.source,
  super.line = 0,
  super.column = 0,
  super.offset = 0,
  super.length = 0,
}) : super(Semantic.funcTypeExpr);