D2Touch class

Implemented types

Properties

aggregateModule AggregateModule
no setter
authModule AuthModule
no setter
dashboardModule DashboardModule
no setter
databaseFactory ↔ DatabaseFactory?
getter/setter pairoverride
databaseInstance DatabaseManager?
getter/setter pairoverride
dataElementModule DataElementModule
no setter
dataSetModule DataSetModule
no setter
dataStore DataStoreModule
no setter
engine EngineModule
no setter
fileResourceModule FileResourceModule
no setter
hashCode int
The hash code for this object.
no setterinherited
httpClient HttpClientModule
no setter
inMemory bool?
getter/setter pairoverride
instanceVersion int?
getter/setter pair
locale String
getter/setter pairoverride
notificationModule NotificationModule
no setter
optionGroupModule OptionGroupModule
no setter
organisationUnitModule OrganisationUnitModule
no setter
programModule ProgramModule
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sharedPreferenceInstance ↔ SharedPreferences
getter/setter pairoverride
trackerModule TrackedEntityInstanceModule
no setter
userModule UserModule
no setteroverride

Methods

dispose() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDatabase({required String databaseName, bool? inMemory, DatabaseFactory? databaseFactory, required SharedPreferences sharedPreferenceInstance}) Future<DatabaseManager>
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

init({int? instanceVersion, String? locale, String? databaseName, bool? inMemory, DatabaseFactory? databaseFactory, SharedPreferences? sharedPreferenceInstance}) Future<D2Touch>
initialize({String? databaseName, bool? inMemory, DatabaseFactory? databaseFactory}) Future<Database?>
isAuthenticated({Future<SharedPreferences>? sharedPreferenceInstance, bool? inMemory, DatabaseFactory? databaseFactory}) Future<bool>
logIn({required String username, required String password, required String url, Future<SharedPreferences>? sharedPreferenceInstance, bool? inMemory, DatabaseFactory? databaseFactory, Dio? dioTestClient}) Future<LoginResponseStatus>
logOut() Future<bool>
rawQuery({required String query, required List args}) Future<List<Map>>
setToken({required String instanceUrl, required Map<String, dynamic> userObject, required Map<String, dynamic> tokenObject, Future<SharedPreferences>? sharedPreferenceInstance, bool? inMemory, DatabaseFactory? databaseFactory, Dio? dioTestClient}) Future<LoginResponseStatus>