ARSDataAPI class

Constructors

ARSDataAPI({required String userName, required String password, required String address, required String port})

Properties

address → String
final
client ↔ Client
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
newToken → String
no setter
password → String
final
port → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
token ↔ String
getter/setter pair
userName → String
final

Methods

execute(String method, {Map<String, dynamic>? parameters, String methodType = "POST", void onProgress(int transferred, int total)?, int attempt = 0, bool isUpload = false}) → Future<ARSDataAPIResponse>
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 Methods

getAndInit() → Future<ARSDataAPI>
getList<T>({required T parser(Map<String, dynamic>), required String method, Map<String, dynamic>? parameters}) → Future<List<T>>
parseResponse({required StreamedResponse response, void onProgress(int transferred, int total)?}) → Future<Response>
setConnectionInformation({required String userName, required String password, required String address, required String port}) → Future<void>

Constants

auth → const String