FittorClient class

Inheritance

Constructors

FittorClient({Duration defaultTimeout = const Duration(seconds: 30), bool enableLogging = false, bool useWasm = false})
factory

Properties

defaultTimeout → Duration
finalinherited
enableLogging → bool
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addInterceptor(FittorInterceptor interceptor) → void
inherited
clearInterceptors() → void
inherited
close() → void
override
delete(String url, {Map<String, String>? headers, Map<String, String>? queryParameters}) → Future<FittorResponse>
inherited
get(String url, {Map<String, String>? headers, Map<String, String>? queryParameters}) → Future<FittorResponse>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(String url, {dynamic body, Map<String, String>? headers, Map<String, String>? queryParameters}) → Future<FittorResponse>
inherited
performRequest(FittorRequest request) → Future<FittorResponse>
override
post(String url, {dynamic body, Map<String, String>? headers, Map<String, String>? queryParameters}) → Future<FittorResponse>
inherited
put(String url, {dynamic body, Map<String, String>? headers, Map<String, String>? queryParameters}) → Future<FittorResponse>
inherited
removeInterceptor(FittorInterceptor interceptor) → void
inherited
send(FittorRequest request) → Future<FittorResponse>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance → FittorClient
no setter