rawHandle method
Handle a method call
Implementation
Future<dynamic> rawHandle() async {
switch (method) {
case 'openDatabase':
return await handleOpenDatabase();
case 'closeDatabase':
return await handleCloseDatabase();
case 'query':
return await handleQuery();
case 'execute':
return await handleExecute();
case 'insert':
return await handleInsert();
case 'update':
return await handleUpdate();
case 'batch':
return await handleBatch();
case 'getDatabasesPath':
return await handleGetDatabasesPath();
case 'deleteDatabase':
return await handleDeleteDatabase();
case 'databaseExists':
return await handleDatabaseExists();
case 'options':
return await handleOptions();
case 'debugMode':
return await handleDebugMode();
default:
throw ArgumentError('Invalid method $method $this');
}
}