ClientDetaApi class abstract

Basic interface of requests from a client to interact with the Deta API.

Constructors

ClientDetaApi()
{@endtemplate} Basic interface of requests from a client to interact with the Deta API.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete<T>(Uri url, {Object? data, Map<String, String> headers = const {}}) Future<DetaResponse<T>>
Make http DELETE request.
get<T>(Uri url, {Map<String, String> headers = const {}}) Future<DetaResponse<T>>
Make http GET request.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch<T>(Uri url, {Map<String, String> headers = const {}, Object? data}) Future<DetaResponse<T>>
Make http PATCH request.
post<T>(Uri url, {Map<String, String> headers = const {}, Object? data}) Future<DetaResponse<T>>
Make http POST request.
put<T>(Uri url, {Map<String, String> headers = const {}, Object? data}) Future<DetaResponse<T>>
Make http PUT request.
toString() String
A string representation of this object.
inherited

Operators

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