observeValueForKeyPath method

void observeValueForKeyPath(
  1. NSString keyPath, {
  2. required ObjCObject ofObject,
  3. required NSDictionary change,
  4. required Pointer<Void> context,
})

observeValueForKeyPath:ofObject:change:context:

Implementation

void observeValueForKeyPath(
  NSString keyPath, {
  required objc.ObjCObject ofObject,
  required NSDictionary change,
  required ffi.Pointer<ffi.Void> context,
}) {
  _objc_msgSend_1pl4k3n(
    object$.ref.pointer,
    _sel_observeValueForKeyPath_ofObject_change_context_,
    keyPath.ref.pointer,
    ofObject.ref.pointer,
    change.ref.pointer,
    context,
  );
}