HtifyWithoutContextDriver class
It is a class that has get, update, post, delete and sendFile methods to send requests to the server
- Implementers
Constructors
Properties
- conf ↔ HtifyWithoutContextConf?
-
getter/setter pair
- 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 url, String? id, {BuildContext? context, Map< String, String> ? header, Map<String, dynamic> ? payload, bool responseData = true}) → Future -
download(
String url, {BuildContext? context, Map< String, String> ? header, bool responseData = true}) → Future -
get(
String url, {BuildContext? context, Map< String, String> ? query, Map<String, String> ? header, Map<String, dynamic> ? params, bool responseData = true}) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
one(
String url, String? id, {BuildContext? context, Map< String, String> ? header, Map<String, dynamic> ? params, bool responseData = true}) → Future -
post(
String url, Map< String, dynamic> payload, {BuildContext? context, Map<String, String> ? header, bool responseData = true}) → Future -
put(
String url, {BuildContext? context, Map< String, dynamic> ? payload, Map<String, String> ? header, bool responseData = true}) → Future -
sendFile(
String url, FormData formData, {BuildContext? context, Map< String, String> ? header, Function? onProgress, bool responseData = true}) → Future -
specify(
String method, String url, {BuildContext? context, Map< String, String> ? payload, Map<String, String> ? params, Map<String, String> ? header, bool responseData = true}) → Future -
toString(
) → String -
A string representation of this object.
inherited
-
update(
String url, dynamic id, {BuildContext? context, Map< String, dynamic> ? payload, Map<String, String> ? header, bool responseData = true}) → Future
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited