Publisher constructor

Publisher({
  1. required IRelayer relayer,
  2. Logger? logger,
})

Implementation

Publisher({required this.relayer, Logger? logger})
    : logger = logger ?? Logger(),
      _queue = {} {
  _registerEventListeners();
}