unregisterWithAccelerator method

bool unregisterWithAccelerator(
  1. String accelerator
)

Implementation

bool unregisterWithAccelerator(String accelerator) {
  final acceleratorNative = accelerator.toNativeUtf8().cast<ffi.Char>();
  final result = c.native_shortcut_manager_unregister_with_accelerator(
    acceleratorNative,
  );
  pkg_ffi.calloc.free(acceleratorNative);
  return result;
}