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

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the method
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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
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