getMethods abstract method

List<Method> getMethods()

Returns all top-level methods defined in the package.

Example

final methods = resource.getMethods();
methods.forEach((m) => print('Method: ${m.name}'));

Implementation

List<Method> getMethods();