readHits method

Future<List<Map>> readHits(
  1. String nameTable
)

Implementation

Future<List<Map>> readHits(String nameTable) async {
  //   await openDb();
  // Get the records for the tableHits
  return await _hitDatabase?.rawQuery('SELECT * FROM $nameTable') ?? [];
}