Method class
The class that contains all HTTP methods
Constructors
- Method.fromValue(String value)
-
Returns the method class from the name of the method
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- delete → const Method
- The DELETE method
- get → const Method
- The GET method
- head → const Method
- The HEAD method
- options → const Method
- The OPTIONS method
- patch → const Method
- The PATCH method
- post → const Method
- The POST method
- put → const Method
- The PUT method
-
values
→ const Map<
String, Method> - A constant Map of the methods