MethodDeclaration constructor
MethodDeclaration(
- String? name,
- List<
SimpleFormalParameter?> ? parameterList, - BlockStatement? body,
- List<
Annotation?> ? annotationList, - TypeName? returnType,
- String? source, {
- bool? isAsync = false,
- Map? ast,
Implementation
MethodDeclaration(this.name, this.parameterList, this.body,
this.annotationList, this.returnType, this.source,
{this.isAsync = false, Map? ast})
: super(ast: ast);