registrationKey property

String? get registrationKey

Implementation

String? get registrationKey {
  final resultPointer = c.native_shortcut_get_registration_key(nativeHandle);
  if (resultPointer == ffi.nullptr) return null;
  final result = resultPointer.cast<pkg_ffi.Utf8>().toDartString();
  c.free_c_str(resultPointer);
  return result;
}