HttpMethod enum

Inheritance

Constructors

HttpMethod(String value)
const

Values

get → const HttpMethod

GET

const HttpMethod('GET')
post → const HttpMethod

POST

const HttpMethod('POST')
delete → const HttpMethod

DELETE

const HttpMethod('DELETE')
put → const HttpMethod

PUT

const HttpMethod('PUT')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The value.
final

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

valueOf(String value) HttpMethod
Returns the http method associated with value.

Constants

values → const List<HttpMethod>
A constant List of the values in this enum, in order of their declaration.