emitShortcutActivated method
Implementation
void emitShortcutActivated(ShortcutId id, String accelerator) {
final acceleratorNative = accelerator.toNativeUtf8().cast<ffi.Char>();
c.native_shortcut_manager_emit_shortcut_activated(id, acceleratorNative);
pkg_ffi.calloc.free(acceleratorNative);
}