EventNotifier constructor

EventNotifier({
  1. required DbName dbName,
  2. EventEmitter? eventEmitter,
})

Implementation

EventNotifier({required this.dbName, EventEmitter? eventEmitter}) {
  attachedDbIndex = AttachedDbIndex(
    byAlias: {},
    byName: {},
  );

  events = eventEmitter ?? globalEmitter;
}