flush method
Flush all opened databases
Implementation
Future flush() async {
var helpers = List<DatabaseOpenHelper>.from(
_databaseOpenHelpers.values,
growable: false,
);
for (var helper in helpers) {
await helper.database?.flush();
}
}