Method constructor

Method({
  1. String name = '',
  2. AstType returnType = const AstVoid(),
  3. List<Variable> parameters = const [],
  4. bool ignoreError = false,
  5. bool isAsync = false,
  6. List<String> codeComments = const <String>[],
})

Implementation

Method({
  this.name = '',
  this.returnType = const AstVoid(),
  this.parameters = const [],
  this.ignoreError = false,
  this.isAsync = false,
  this.codeComments = const <String>[],
});