static Future<List<Log>> getAll() async { if (_storage != null) { return (await _storage!.getAll<Log>(Tables.logs, Log.fromJson)).reversed.toList(); } return []; }