HttpManager class Null safety
Http manager.
- Inheritance
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
addPlugin<
T extends IPlugin> (IPlugin plugin) → void -
Adds plugin.
inherited
-
cleanPlugins(
) → void -
Clean plugins.
inherited
-
getPlugin<
T extends IPlugin> () → IPlugin? -
Gets plugin.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
removePlugin<
T extends IPlugin> () → void -
Removes plugin.
inherited
-
request(
String method, Uri uri, Map< String, String> ? headers, dynamic body, HttpCallback? callback) → Future<void> -
Request at uri with headers and body.
override
-
requestMultipart(
String method, Uri uri, Map< String, String> ? headers, Map<String, String> ? fields, List<MultipartFile> ? files, HttpCallback? callback) → Future<void> -
Request multipart at uri with headers, fields and files.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- METHOD_DELETE → const String
-
"DELETE"
- METHOD_GET → const String
-
Methods.
"GET"
- METHOD_PATCH → const String
-
"PATCH"
- METHOD_POST → const String
-
"POST"
- METHOD_PUT → const String
-
"PUT"
- STATUS_CODE_BAD_REQUEST → const int
-
400
- STATUS_CODE_NO_CONNECTIVITY → const int
-
-123
- STATUS_CODE_NOT_FOUND → const int
-
404
- STATUS_CODE_OK → const int
-
200
- STATUS_CODE_TIMEOUT → const int
-
-123
- STATUS_CODE_UNAUTHORIZED → const int
-
401
- TAG → const String
-
Tag.
"HttpManager"