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