addToBuilderAsBlocking static method
void
addToBuilderAsBlocking(
- ObjCProtocolBuilder builder, {
- required void changeSpelling_(
- ObjCObjectBase? sender
- bool $keepIsolateAlive = true,
Adds the implementation of the NSChangeSpelling protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking
listeners will be.
Note: You cannot call this method after you have called builder.build.
Implementation
static void addToBuilderAsBlocking(
objc.ObjCProtocolBuilder builder, {
required void Function(objc.ObjCObjectBase?) changeSpelling_,
bool $keepIsolateAlive = true,
}) {
NSChangeSpelling.changeSpelling_.implementAsBlocking(
builder,
changeSpelling_,
);
builder.addProtocol($protocol);
}