DioGatewayNetworkService class

Inheritance
Mixed-in types
Implementers

Constructors

DioGatewayNetworkService.new(Dio dio)

Properties

baseUrl String
no setteroverride
dio → Dio
final
dioBaseOptions → BaseOptions
no setter
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, Object>
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout int
no setteroverride

Methods

delete(String endpoint, {Map<String, dynamic>? queryParameters, Map<String, dynamic>? data}) Future<BaseCallBack<AppException, BaseResponse>>
override
get(String endpoint, {Map<String, dynamic>? queryParameters, Map<String, dynamic>? data}) Future<BaseCallBack<AppException, BaseResponse>>
override
handleException<T extends Object>(Future<Response> handler(), {String endpoint = ''}) Future<BaseCallBack<AppException, BaseResponse>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(String endpoint, {Map<String, dynamic>? queryParameters, Map<String, dynamic>? data}) Future<BaseCallBack<AppException, BaseResponse>>
override
postFormData(String endpoint, {Map<String, dynamic>? queryParameters, FormData? data}) Future<BaseCallBack<AppException, BaseResponse>>
override
put(String endpoint, {Map<String, dynamic>? queryParameters, Map<String, dynamic>? data}) Future<BaseCallBack<AppException, BaseResponse>>
override
toString() String
A string representation of this object.
inherited
updateHeader(Map<String, dynamic> data) Map<String, dynamic>?
override

Operators

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