JayNetworkClient class

Constructors

JayNetworkClient(String _baseURL, {List<Interceptor>? interceptors, int defaultConnectTimeout = Duration.millisecondsPerMinute, int defaultReceiveTimeout = Duration.millisecondsPerMinute})

Properties

defaultConnectTimeout int
getter/setter pair
defaultReceiveTimeout int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
interceptors List<Interceptor>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

makeDeleteRequest(String uri, {dynamic data, Map<String, dynamic>? queryParameters, Options? options, CancelToken? cancelToken}) Future
makeGetRequest(String uri, {Map<String, dynamic>? queryParameters, Options? options, CancelToken? cancelToken, ProgressCallback? onReceiveProgress}) Future
makePatchRequest(String uri, {dynamic data, Map<String, dynamic>? queryParameters, Options? options, CancelToken? cancelToken, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future
makePostRequest(String uri, {dynamic data, Map<String, dynamic>? queryParameters, Options? options, CancelToken? cancelToken, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future
makePutRequest(String uri, {dynamic data, Map<String, dynamic>? queryParameters, Options? options, CancelToken? cancelToken, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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