WebServiceHelper 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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
checkConnection({String url = "google.com"})
→ Future<bool>
-
-
delete({required String url, Map<String, String> queryParams = const {}, })
→ Future<Map<String, dynamic>>
-
-
downloadFile({required String url, String downloadPath = "", Map<String, dynamic> data = const {}, dynamic downloadProgress(Map<String, dynamic> params)?})
→ Future
-
-
get({required String url, Map<String, String> queryParams = const {}, })
→ Future<Map<String, dynamic>>
-
-
getDirect({required String url, Map<String, String> queryParams = const {}, })
→ Future
-
-
-
parseUrl(String url, {Map<String, String> params = const {}})
→ Uri
-
-
patch({required String url, Map data = const {}, Map<String, String> queryParams = const {}, })
→ Future<Map<String, dynamic>>
-
-
post({required String url, Map<String, dynamic> data = const {}, Map<String, String> queryParams = const {}, })
→ Future<Map<String, dynamic>>
-
-
postRaw({required String url, Object data = Null, })
→ Future<Map<String, dynamic>>
-
-
put({required String url, Map data = const {}, Map<String, String> queryParams = const {}, })
→ Future<Map<String, dynamic>>
-