ClientBrowser class

Implemented types

Constructors

ClientBrowser({String endPoint = 'https://api.tomba.io/v1', bool selfSigned = false})

Properties

config Map<String, String>
getter/setter pairoverride
endPoint String
no setteroverride
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) ClientBrowser
call(HttpMethod method, {String path = '', Map<String, String> headers = const {}, Map<String, dynamic> params = const {}, ResponseType? responseType}) Future<Response>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepareRequest(HttpMethod method, {required Uri uri, required Map<String, String> headers, required Map<String, dynamic> params}) → BaseRequest
inherited
prepareResponse(Response res, {ResponseType? responseType}) Response
inherited
setEndpoint(String endPoint) ClientBrowser
setKey(dynamic value) ClientBrowser
Your Key
setSecret(dynamic value) ClientBrowser
Your Secret
setSelfSigned({bool status = true}) ClientBrowser
toResponse(StreamedResponse streamedResponse) Future<Response>
inherited
toString() String
A string representation of this object.
inherited

Operators

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