notificationWithName$1 static method

NSNotification notificationWithName$1(
  1. DartNSNotificationName aName, {
  2. ObjCObjectBase? object,
  3. NSDictionary? userInfo,
})

notificationWithName:object:userInfo:

Implementation

static objc.NSNotification notificationWithName$1(
  DartNSNotificationName aName, {
  objc.ObjCObjectBase? object,
  objc.NSDictionary? userInfo,
}) {
  final _ret = _objc_msgSend_11spmsz(
    _class_NSNotification,
    _sel_notificationWithName_object_userInfo_,
    aName.ref.pointer,
    object?.ref.pointer ?? ffi.nullptr,
    userInfo?.ref.pointer ?? ffi.nullptr,
  );
  return objc.NSNotification.castFromPointer(
    _ret,
    retain: true,
    release: true,
  );
}