notificationWithName static method

NSNotification notificationWithName(
  1. DartNSNotificationName aName, {
  2. ObjCObjectBase? object,
})

notificationWithName:object:

Implementation

static objc.NSNotification notificationWithName(
  DartNSNotificationName aName, {
  objc.ObjCObjectBase? object,
}) {
  final _ret = _objc_msgSend_15qeuct(
    _class_NSNotification,
    _sel_notificationWithName_object_,
    aName.ref.pointer,
    object?.ref.pointer ?? ffi.nullptr,
  );
  return objc.NSNotification.castFromPointer(
    _ret,
    retain: true,
    release: true,
  );
}