loadEvent method

  1. @override
Future<Nip01Event?> loadEvent(
  1. String id
)
override

Implementation

@override
Future<Nip01Event?> loadEvent(String id) async {
  Nip01Event? event = isar_ds.isar.dbEvents.get(id);
  return eventFilter == null || (event != null && eventFilter!.filter(event))
      ? event
      : null;
}