ApiRequester class Null safety
Base class for all API clients, offering generic methods for HTTP Requests to the API
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- 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
-
request(
String requestUrl, String method, {String? body, Map< String, List< ? queryParams, Media? uploadMedia, UploadOptions? uploadOptions, DownloadOptions? downloadOptions = client_requests.DownloadOptions.metadata}) → FutureString> > -
Sends a HTTPRequest using
method
(usually GET or POST) torequestUrl
using the specifiedqueryParams
. Optionally include abody
and/oruploadMedia
in the request. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited