ShortcutManager constructor Null safety

ShortcutManager(
  1. {Map<ShortcutActivator, Intent> shortcuts = const <ShortcutActivator, Intent>{},
  2. bool modal = false}
)

Constructs a ShortcutManager.

Implementation

ShortcutManager({
  Map<ShortcutActivator, Intent> shortcuts = const <ShortcutActivator, Intent>{},
  this.modal = false,
})  : assert(shortcuts != null),
      _shortcuts = shortcuts;