initForKeyPath method
initForKeyPath:ofObject:withObserver:options:context:
Implementation
DOBJCObservation initForKeyPath(
NSString keyPath, {
required objc.ObjCObject ofObject,
required Observer withObserver,
required int options,
required ffi.Pointer<ffi.Void> context,
}) {
final $ret = _objc_msgSend_1jiinfj(
object$.ref.retainAndReturnPointer(),
_sel_initForKeyPath_ofObject_withObserver_options_context_,
keyPath.ref.pointer,
ofObject.ref.pointer,
withObserver.ref.pointer,
options,
context,
);
return DOBJCObservation.fromPointer($ret, retain: false, release: true);
}