replaceContentsInRange_withTextElements_ property
ObjCProtocolListenableMethod<void Function(NSTextRange, NSArray?)>
replaceContentsInRange_withTextElements_
final
replaceContentsInRange:withTextElements:
Implementation
static final replaceContentsInRange_withTextElements_ =
objc.ObjCProtocolListenableMethod<
void Function(NSTextRange, objc.NSArray?)
>(
_protocol_NSTextElementProvider,
_sel_replaceContentsInRange_withTextElements_,
ffi.Native.addressOf<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<objc.ObjCObject>,
)
>
>(_NativeBindingBindings_protocolTrampoline_fjrv01)
.cast(),
objc.getProtocolMethodSignature(
_protocol_NSTextElementProvider,
_sel_replaceContentsInRange_withTextElements_,
isRequired: true,
isInstanceMethod: true,
),
(void Function(NSTextRange, objc.NSArray?) func) =>
ObjCBlock_ffiVoid_ffiVoid_NSTextRange_NSArray.fromFunction(
(ffi.Pointer<ffi.Void> _, NSTextRange arg1, objc.NSArray? arg2) =>
func(arg1, arg2),
),
(void Function(NSTextRange, objc.NSArray?) func) =>
ObjCBlock_ffiVoid_ffiVoid_NSTextRange_NSArray.listener(
(ffi.Pointer<ffi.Void> _, NSTextRange arg1, objc.NSArray? arg2) =>
func(arg1, arg2),
),
(void Function(NSTextRange, objc.NSArray?) func) =>
ObjCBlock_ffiVoid_ffiVoid_NSTextRange_NSArray.blocking(
(ffi.Pointer<ffi.Void> _, NSTextRange arg1, objc.NSArray? arg2) =>
func(arg1, arg2),
),
);