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
final
hashCode int
The hash code for this object.
no setterinherited
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.
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited