Method class Null safety

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.")@experimentalfinal
hashCode int
The hash code for this object.
read-onlyinherited
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
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