ApiRequest class

Class representing an API request

Constructors

ApiRequest.new(String url, {String? method, dynamic body, Options? options})
Constructor for API request

Properties

body ↔ dynamic
getter/setter pair
dio → Dio
final
hashCode int
The hash code for this object.
no setterinherited
method String?
getter/setter pair
options ↔ Options?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send<T>() Future<Response>
Method to send the API request
toString() String
A string representation of this object.
inherited

Operators

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