httpMethod property

String? httpMethod
final

The HTTP method for the server rule.

The value should be an uppercase string. For example, "GET", "POST" and "PUT".

Only used when annotating request handlers. Null when it is annotating an exception handler, server exception handler or server raw exception handler.

Implementation

final String? httpMethod;