HttpMethod class Null safety

Constructors

HttpMethod()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

delete → const String
The delete method deletes the specified resource.
'DELETE'
get → const String
get is used to request data from a specified resource.
'GET'
head is almost identical to GET, but without the response body.
'HEAD'
post → const String
post is used to send data to a server to create/update a resource.
'POST'
put → const String
put is used to send data to a server to create/update a resource.
'PUT'