addToBuilder static method
void
addToBuilder(})
Adds the implementation of the NSValidatedUserInterfaceItem 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 ffi.Pointer<objc.ObjCSelector> Function() action,
required DartNSInteger Function() tag,
bool $keepIsolateAlive = true,
}) {
NSValidatedUserInterfaceItem.action.implement(builder, action);
NSValidatedUserInterfaceItem.tag.implement(builder, tag);
builder.addProtocol($protocol);
}