HttpHelper class
Constructors
- HttpHelper(String _scheme, String _host, String _pathRoot)
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
-
post(
String api, Map< String, dynamic> map) → Future<Map< String, dynamic> > -
setHeader(
String name, String value) → HttpHelper -
setQuery(
String name, String value) → HttpHelper -
sse(
String api, Map< String, dynamic> map, dynamic eventHandler, {Function? onError, void onDone()?}) → Future -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited