ApiClient class Null safety
Constructors
- ApiClient({SendbirdState? state, String? appId, String? token})
Properties
- appId ↔ String?
-
read / write
- baseUrl ↔ String?
-
read / write
- client ↔ HttpClient
-
read / write
- currentUserId ↔ String?
-
read / write
- errorStream → Stream
-
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
headers
↔ Map<
String, String> -
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sessionKey ↔ String?
-
read / write
- state ↔ SendbirdState?
-
read / write
- token ↔ String?
-
read / write
- uploadSizeLimit ↔ int
-
read / write
Methods
-
cancelUploadingFile(
String requestId) → bool -
cleanUp(
) → void -
initialize(
{String? appId, String? token, String? baseUrl, int? uploadSizeLimit, Map< String, String> ? headers}) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
send<
T> (ApiRequest request) → Future< T> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited