bind method

void bind(
  1. DartNSBindingName binding, {
  2. required ObjCObjectBase toObject,
  3. required NSString withKeyPath,
  4. NSDictionary? options,
})

bind:toObject:withKeyPath:options:

Implementation

void bind(
  DartNSBindingName binding, {
  required objc.ObjCObjectBase toObject,
  required objc.NSString withKeyPath,
  objc.NSDictionary? options,
}) {
  objc.checkOsVersionInternal(
    'NSObject.bind:toObject:withKeyPath:options:',
    iOS: (true, null),
  );
  _objc_msgSend_mlcr8l(
    this.ref.pointer,
    _sel_bind_toObject_withKeyPath_options_,
    binding.ref.pointer,
    toObject.ref.pointer,
    withKeyPath.ref.pointer,
    options?.ref.pointer ?? ffi.nullptr,
  );
}