deleteAll method
Implementation
Future<void> deleteAll() async {
if (kIsWeb) {
final int selectAllLength = (await selectAll()).length;
for (int index = 0; index < selectAllLength; index++) {
for (final c.Sqflite column in sqfliteTable.columnList) {
await Preference('${sqfliteTable.name}${column.name}$index')
.setValue(null);
}
}
} else {
await (await sqflite).delete('`${sqfliteTable.name}`');
}
}