methods property

List<String> methods
getter/setter pair

List of HTTP methods allowed for this route. For example, POST, GET, HEAD, etc.

Implementation

late List<String> methods;