ApiClient class

HTTP client for API communication

Constructors

ApiClient({required String baseUrl, String? authToken})

Properties

authToken String?
final
baseUrl String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteData({required String collection, required String recordId}) Future<Response>
Delete data on server
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pullData({required String collection, DateTime? since}) Future<Response>
Pull data from server
pushData({required String collection, required String recordId, required Map<String, dynamic> data}) Future<Response>
Push data to server
toString() String
A string representation of this object.
inherited
updateAuthToken(String token) → void
Update auth token

Operators

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