import 'dart:async'; import 'package:immich_mobile/domain/models/log.model.dart'; abstract interface class ILogRepository { Future insert(LogMessage log); Future insertAll(Iterable logs); Future> getAll(); Future deleteAll(); /// Truncates the logs to the most recent [limit]. Defaults to recent 250 logs Future truncate({int limit = 250}); }