MethodDeclaration constructor

MethodDeclaration(
  1. String? name,
  2. List<SimpleFormalParameter?>? parameterList,
  3. BlockStatement? body,
  4. List<Annotation?>? annotationList,
  5. TypeName? returnType,
  6. String? source, {
  7. bool? isAsync = false,
  8. Map? ast,
})

Implementation

MethodDeclaration(this.name, this.parameterList, this.body,
    this.annotationList, this.returnType, this.source,
    {this.isAsync = false, Map? ast})
    : super(ast: ast);