Http class

Constructors

Http(String serverUrl)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverUrl String
final

Methods

linkPostRequest<T extends Link>(T link, {GlobalKey<ScaffoldState>? globalKey, dynamic errorCallback()?, int timeout = 7}) Future<RequestResult<T>>
linkPostRequestWithFile<T extends Link>(T link, {GlobalKey<ScaffoldState>? globalKey, dynamic errorCallback()?, int timeout = 7, String fileFiled = "files", String dataField = "json", List<File>? files}) Future<RequestResult<T>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postRequest<L extends Link>(LinkNotifier<L>? notifier, {GlobalKey<ScaffoldState>? globalKey, dynamic errorCallback()?, dynamic readyLock = true}) Future<RequestResult<L?>>
syncPost<L extends Link>(LinkNotifier<L> notifier, {GlobalKey<ScaffoldState>? globalKey, dynamic errorCallback()?}) Future<RequestResult<L?>>
toString() String
A string representation of this object.
inherited

Operators

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