getWithId method

Shortcut? getWithId(
  1. ShortcutId id
)

Implementation

Shortcut? getWithId(ShortcutId id) {
  final handle = c.native_shortcut_manager_get_with_id(id);
  if (handle == 0) return null;
  return Shortcut.fromHandle(handle);
}