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