HttpMethod enum
HTTP Method such as GET or PUT.
Constructors
- HttpMethod(String value)
-
HTTP Method such as GET or PUT.
const
Values
- delete → const HttpMethod
-
DELETE HTTP Method
const HttpMethod('DELETE')
- get → const HttpMethod
-
GET HTTP Method
const HttpMethod('GET')
- head → const HttpMethod
-
HEAD HTTP Method
const HttpMethod('HEAD')
- options → const HttpMethod
-
OPTIONS HTTP Method
const HttpMethod('OPTIONS')
- patch → const HttpMethod
-
PATCH HTTP Method
const HttpMethod('PATCH')
- post → const HttpMethod
-
POST HTTP Method
const HttpMethod('POST')
- put → const HttpMethod
-
PUT HTTP Method
const HttpMethod('PUT')
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
HttpMethod> - A constant List of the values in this enum, in order of their declaration.