saveEvents method
Implementation
@override
Future<void> saveEvents(List<Nip01Event> events) async {
final startTime = DateTime.now();
isar_ds.isar.write((isar) {
isar.dbEvents.putAll(
events.map((event) => DbEvent.fromNip01Event(event)).toList());
});
final endTime = DateTime.now();
final duration = endTime.difference(startTime);
Logger.log
.t("SAVED ${events.length} Events took ${duration.inMilliseconds} ms");
}