notificationWithName static method

NSNotification notificationWithName(
  1. NSString aName, {
  2. ObjCObject? object,
})

notificationWithName:object:

Implementation

static NSNotification notificationWithName(
  NSString aName, {
  objc.ObjCObject? object,
}) {
  final $ret = _objc_msgSend_15qeuct(
    _class_NSNotification,
    _sel_notificationWithName_object_,
    aName.ref.pointer,
    object?.ref.pointer ?? ffi.nullptr,
  );
  return NSNotification.fromPointer($ret, retain: true, release: true);
}