RequestMethod enum
This describes the HTTP request method of a network request.
Values
- connect → const RequestMethod
-
const RequestMethod('connect')
- delete → const RequestMethod
-
const RequestMethod('delete')
- get → const RequestMethod
-
const RequestMethod('get')
- head → const RequestMethod
-
const RequestMethod('head')
- options → const RequestMethod
-
const RequestMethod('options')
- patch → const RequestMethod
-
const RequestMethod('patch')
- post → const RequestMethod
-
const RequestMethod('post')
- put → const RequestMethod
-
const RequestMethod('put')
- other → const RequestMethod
-
const RequestMethod('other')
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
Static Methods
-
fromJS(
String value) → RequestMethod
Constants
-
values
→ const List<
RequestMethod> - A constant List of the values in this enum, in order of their declaration.