Properties
baseUrl
→ String ?
Whether this repository uses the baseUrl from this getter, returns the baseUrl
If the baseUrl should be watched from a stream, state or something else, returns null
no setter
hashCode
→ int
The hash code for this object.
no setter inherited
interceptorsWrapper
→ InterceptorsWrapper
InterceptorsWrapper for this repository
Must be set if useInterceptors is true
no setter
options
→ BaseOptions?
BaseOptions for Dio
Will be used to initialize the dio instance
no setter
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
useInterceptors
→ bool
Whether this repository uses interceptors or not
Derived classes should override this to change the behavior
no setter
Methods
addInterceptors (InterceptorsWrapper interceptorsWrapper )
→ dynamic
delete (String path , {Object ? data , Map <String , dynamic > ? queryParameters , Options? options , CancelToken? cancelToken , ProgressCallback? onSendProgress , ProgressCallback? onReceiveProgress })
→ Future <Response >
Wrap DELETE method from Dio
download (String urlPath , dynamic savePath , {ProgressCallback? onReceiveProgress , Map <String , dynamic > ? queryParameters , CancelToken? cancelToken , bool deleteOnError = true , Object ? data , Options? options })
→ Future <Response >
get (String url , {Object ? data , Map <String , dynamic > ? queryParameters , Options? options , CancelToken? cancelToken , ProgressCallback? onReceiveProgress })
→ Future <Response >
Wrap GET method from Dio
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch (String path , {Object ? data , Map <String , dynamic > ? queryParameters , Options? options , CancelToken? cancelToken , ProgressCallback? onSendProgress , ProgressCallback? onReceiveProgress })
→ Future <Response >
Wrap PATCH method from Dio
post (String path , {Object ? data , Map <String , dynamic > ? queryParameters , Options? options , CancelToken? cancelToken , ProgressCallback? onSendProgress , ProgressCallback? onReceiveProgress })
→ Future <Response >
Wrap POST method from Dio
put (String path , {Object ? data , Map <String , dynamic > ? queryParameters , Options? options , CancelToken? cancelToken , ProgressCallback? onSendProgress , ProgressCallback? onReceiveProgress })
→ Future <Response >
Wrap PUT method from Dio
request (String url , {Object ? data , Map <String , dynamic > ? queryParameters , CancelToken? cancelToken , Options? options , ProgressCallback? onSendProgress , ProgressCallback? onReceiveProgress })
→ Future <Response >
Wrap request method from Dio
toString ()
→ String
A string representation of this object.
inherited
url (String path )
→ String
truesight_flutter 2406.30.1