addToBuilderAsBlocking static method
void
addToBuilderAsBlocking(
- ObjCProtocolBuilder builder, {
- required void changeColor_(),
- bool $keepIsolateAlive = true,
Adds the implementation of the NSColorChanging 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(NSColorPanel$1?) changeColor_,
bool $keepIsolateAlive = true,
}) {
NSColorChanging.changeColor_.implementAsBlocking(builder, changeColor_);
builder.addProtocol($protocol);
}