Client class abstract

Implementers

Constructors

Client({String endPoint = 'https://HOSTNAME/v1', bool selfSigned = false})
factory

Properties

config Map<String, String>
getter/setter pair
endPoint String
no setter
endPointRealtime String?
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addHeader(String key, String value) Client
call(HttpMethod method, {String path = '', Map<String, String> headers = const {}, Map<String, dynamic> params = const {}, ResponseType? responseType}) Future<Response>
chunkedUpload({required String path, required Map<String, dynamic> params, required String paramName, required String idParamName, required Map<String, String> headers, dynamic onProgress(UploadProgress)?}) Future<Response>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setEndpoint(String endPoint) Client
setEndPointRealtime(String endPoint) Client
setJWT(dynamic value) Client
Your secret JSON Web Token
setLocale(dynamic value) Client
setProject(dynamic value) Client
Your project ID
setSelfSigned({bool status = true}) Client
toString() String
A string representation of this object.
inherited
webAuth(Uri url, {String? callbackUrlScheme}) Future

Operators

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

Constants

CHUNK_SIZE → const int