HttpUtils class
Constructors
Properties
- baseUrl → String
-
final
-
defaultHeaders
→ Map<
String, String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeoutDuration → Duration
-
final
Methods
-
delete(
String endpoint, {Map< String, String> ? headers}) → Future -
get(
String endpoint, {Map< String, String> ? headers}) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
String endpoint, {dynamic body, Map< String, String> ? headers}) → Future -
put(
String endpoint, {dynamic body, Map< String, String> ? headers}) → Future -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited