CodeMethod constructor
const
CodeMethod({})
Creates a method node.
Implementation
const CodeMethod({
required this.name,
required this.returnType,
this.parameters = const <CodeParameter>[],
this.bodyLines = const <String>[],
this.isAsync = false,
});