addToBuilder static method
void
addToBuilder(
- ObjCProtocolBuilder builder, {
- ObjCObjectBase? initWithPasteboardPropertyList_ofType_(
- ObjCObjectBase,
- DartNSPasteboardType
- bool $keepIsolateAlive = true,
Adds the implementation of the NSPasteboardReading 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, {
objc.ObjCObjectBase? Function(objc.ObjCObjectBase, DartNSPasteboardType)?
initWithPasteboardPropertyList_ofType_,
bool $keepIsolateAlive = true,
}) {
NSPasteboardReading.initWithPasteboardPropertyList_ofType_.implement(
builder,
initWithPasteboardPropertyList_ofType_,
);
builder.addProtocol($protocol);
}