addToBuilder static method
void
addToBuilder(
- ObjCProtocolBuilder builder, {
- required void changeSpelling_(
- ObjCObjectBase? sender
- bool $keepIsolateAlive = true,
Adds the implementation of the NSChangeSpelling protocol to an existing
objc.ObjCProtocolBuilder.
Note: You cannot call this method after you have called builder.build.
Implementation
static void addToBuilder(
objc.ObjCProtocolBuilder builder, {
required void Function(objc.ObjCObjectBase?) changeSpelling_,
bool $keepIsolateAlive = true,
}) {
NSChangeSpelling.changeSpelling_.implement(builder, changeSpelling_);
builder.addProtocol($protocol);
}