Method class

Implementers
Annotations
  • @immutable

Constructors

Method(String method, String path, {bool autoCastResponse: true})
const

Properties

autoCastResponse → bool
Automatically cast response to proper type for this method only [...]
@Deprecated("Use `HttpResponse` to get the original response, will be removed in the future release."), @experimental, final
method → String
HTTP request method which can be found in HttpMethod.
final
path → String
A relative or absolute path, or full URL of the endpoint. [...]
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited