Builds a public method declaration.
The name of the method.
The array of parameter declarations.
The return type node (e.g. Observable
The block of code inside the method.
Optionaldescription: stringOptional JSDoc description.
The MethodDeclaration AST node.
Utility class for building TypeScript class methods for Services. Designed to be injected via DI.