Server class

Constructors

Server({required String key, int timeout = 55, bool isFull = false, dynamic onFinishDownload(bool)?, Map<String, String>? header})
base class for making http requestServer

Properties

hashCode int
The hash code for this object.
no setterinherited
getter/setter pair
isFull bool
final
key String
final
onFinishDownload → dynamic Function(bool)?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout int
final

Methods

getRequest() Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postRequest(Map<String, dynamic> body) Future
toString() String
A string representation of this object.
inherited
uploadFile(String filePath, Map<String, dynamic> form) Future

Operators

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

Static Properties

client ↔ Client
getter/setter pair
forceLogout bool
getter/setter pair