DioNetworkService class
- Inheritance
-
- Mixed-in types
-
Methods
-
get(String endpoint, {Map<String, dynamic>? queryParameters})
→ Future<Either<AppException, Response>>
-
override
-
handleException<T extends Object>(Future<Response> handler(), {String endpoint = ''})
→ Future<Either<AppException, Response>>
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
post(String endpoint, {Map<String, dynamic>? data})
→ Future<Either<AppException, Response>>
-
override
-
postFileUpload(String endpoint, {Map<String, dynamic>? data, List<File>? files, String? fileKey})
→ Future<Either<AppException, Response>>
-
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
override