findAll static method

Future<List<Log>> findAll()

Implementation

static Future<List<Log>> findAll() async
{
  List<Log> list = [];
  List<Map<String, dynamic>> entries = await Database().findAll(tableName);
  entries.forEach((entry)
  {
    Log? log = _fromMap(entry);
    if (log != null) list.add(log);
  });
  return list;
}