Client class

Constructors

Client({String endPoint = 'https://appwrite.io/v1', bool selfSigned = false, Dio http})

Properties

config Map<String, String>
read / write
endPoint String
read / write
hashCode int
The hash code for this object.
read-onlyinherited
headers Map<String, String>
read / write
http Dio
read / write
initialized bool
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
selfSigned bool
read / write
type String
read / write

Methods

addHeader(String key, String value) Client
call(HttpMethod method, {String path = '', Map<String, String> headers = const {}, Map<String, dynamic> params = const {}}) Future<Response>
init() Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
setEndpoint(String endPoint) Client
setKey(dynamic value) Client
Your secret API key
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

Operators

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