NetworkHelper class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(String endpoint, {bool isUseToken = true, Map<String, dynamic>? params, Options? options, dynamic data})
→ Future<Response>
-
-
download(String endpoint, {bool isUseToken = true, dynamic savePath, dynamic data, Options? options, dynamic progress(int, int)?, Map<String, dynamic>? params})
→ Future<Response>
-
-
get(String endpoint, {bool isUseToken = true, Map<String, dynamic>? params, dynamic progress(int, int)?, Options? options})
→ Future<Response>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
post(String endpoint, {bool isUseToken = true, Map<String, dynamic>? params, dynamic receiveProgress(int, int)?, dynamic progress(int, int)?, Options? options, dynamic data})
→ Future<Response>
-
-
postFormData(String endpoint, {bool isUseToken = true, Map<String, dynamic>? params, dynamic receiveProgress(int, int)?, dynamic progress(int, int)?, Options? options, dynamic data})
→ Future<Response>
-
-
put(String endpoint, {bool isUseToken = true, Map<String, dynamic>? params, dynamic receiveProgress(int, int)?, dynamic progress(int, int)?, Options? options, dynamic data})
→ Future<Response>
-
-
toString()
→ String
-
A string representation of this object.
inherited