HttpUtils 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
-
createInstance()
→ void
-
-
delete(String url, {Map<String, dynamic>? params})
→ Future
-
-
get(String url, {Map<String, dynamic>? params})
→ Future
-
-
post(String url, {Map<String, dynamic>? params})
→ Future
-
-
put(String url, {Map<String, dynamic>? params})
→ Future
-
-
resetBaseUrl(String url)
→ Future
-
-
upload(String url, {Map<String, dynamic>? data, String? filePath, String? fileKey})
→ Future
-