Http class
Constructors
- Http()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interceptors
↔ List<
HttpInterceptor> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout ↔ Duration
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
String url, Map< String, dynamic> ? data) → Future<String> -
toString(
) → String -
A string representation of this object.
inherited
-
upload(
String url, String name, XFile file) → Future< String> -
uploadStream(
String url, String name, dynamic path, Stream< Uint8List> stream, String? contentType, int contentLength) → Future<String>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getInstance(
) → Http