BaseAPI class

Implementers

Constructors

BaseAPI({required Client client, required String baseUrl, bool enterprise = false, Map<String, dynamic> kwargs = const {}})
const

Properties

baseUrl String
final
client Client
final
enterprise bool
final
hashCode int
The hash code for this object.
no setterinherited
kwargs Map<String, dynamic>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearCache() Future<Map<String, dynamic>>
Clear cache (Enterprise only)
clearQueue() Future<Map<String, dynamic>>
Clear task queue (Enterprise only)
fetch(String id) Future<Map<String, dynamic>>
Fetch task result by ID
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
restart() Future<Map<String, dynamic>>
Restart server (Enterprise only)
systemDetails() Future<Map<String, dynamic>>
Get system details (Enterprise only)
toString() String
A string representation of this object.
inherited
update() Future<Map<String, dynamic>>
Update server (Enterprise only)

Operators

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