initWithSuiteName_commandName_dictionary_ method

NSScriptCommandDescription? initWithSuiteName_commandName_dictionary_(
  1. NSString suiteName,
  2. NSString commandName,
  3. NSDictionary? commandDeclaration
)

Implementation

NSScriptCommandDescription? initWithSuiteName_commandName_dictionary_(
    NSString suiteName,
    NSString commandName,
    NSDictionary? commandDeclaration) {
  final _ret = _lib._objc_msgSend_626(
      _id,
      _lib._sel_initWithSuiteName_commandName_dictionary_1,
      suiteName._id,
      commandName._id,
      commandDeclaration?._id ?? ffi.nullptr);
  return _ret.address == 0
      ? null
      : NSScriptCommandDescription._(_ret, _lib, retain: true, release: true);
}