all method

Future<List<T>> all()

Implementation

Future<List<T>> all() async {
  final results = await DatabaseService.driver.query('SELECT * FROM $tableName');
  return results.map(fromMap).toList();
}