HttpUtils class

Constructors

HttpUtils()

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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

default_url String
getter/setter pair
dio ↔ Dio?
getter/setter pair

Static Methods

createInstance() → void
delete(String url, {Map<String, dynamic>? params}) Future
get(String url, {Map<String, dynamic>? params}) Future
post(String url, {Map<String, dynamic>? params}) Future
put(String url, {Map<String, dynamic>? params}) Future
resetBaseUrl(String url) Future
upload(String url, {Map<String, dynamic>? data, String? filePath, String? fileKey}) Future