shortcuts property Null safety

Map<ShortcutActivator, Intent> shortcuts

The map of shortcuts that describes the mapping between a key sequence defined by a ShortcutActivator and the Intent that will be emitted when that key sequence is pressed.

Implementation

Map<ShortcutActivator, Intent> get shortcuts {
  return manager == null ? _shortcuts : manager!.shortcuts;
}