Client class

Client class to interact with the API

Inheritance

Constructors

Client.new(String baseUrl, {String? path, String? recordId, required String collectionName, int? page = 1, int? perPage = 30, String? sort, String? filter, String? expand, String? fields, bool? skipTotal = false})
Constructor with named parameters and default values

Properties

baseUrl String
final
collectionName String
final
expand String?
final
fields String?
final
filter String?
final
hashCode int
The hash code for this object.
no setterinherited
page int?
final
path String?
final
perPage int?
final
recordId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipTotal bool?
final
sort String?
final

Methods

delete<T>() Future<T>
Method to perform DELETE request
override
get<T>() Future<T>
Method to perform GET request
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch<T>({dynamic body}) Future<T>
Method to perform PATCH request
override
post<T>({dynamic body}) Future<T>
Method to perform POST request
override
put<T>({dynamic body}) Future<T>
Method to perform PUT request
override
toString() String
A string representation of this object.
inherited

Operators

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