getLogs method

Future<List<Log>> getLogs(
  1. LogFilter filter
)

Gets logs matching a filter.

Implementation

Future<List<Log>> getLogs(LogFilter filter) async {
  final data = await provider.getLogs(filter.toJson());
  return data.map(Log.fromJson).toList();
}