addToBuilder static method
void
addToBuilder(
- ObjCProtocolBuilder builder, {
- required NSProgress progress(),
- bool $keepIsolateAlive = true,
Adds the implementation of the NSProgressReporting 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 objc.NSProgress Function() progress,
bool $keepIsolateAlive = true,
}) {
NSProgressReporting.progress.implement(builder, progress);
builder.addProtocol($protocol);
}