NotifyCommand constructor

NotifyCommand(
  1. TerminalOutput _output, {
  2. NotificationManager? notificationManager,
})

Implementation

NotifyCommand(
  this._output, {
  NotificationManager? notificationManager,
})  : _notificationManager = notificationManager ?? NotificationManager(),
      _argParser = ArgParser() {
  _argParser.addFlag(
    'dry-run',
    help: 'Preview notification dispatch without sending network requests.',
    negatable: false,
  );
}