addToBuilder static method
void
addToBuilder(
- ObjCProtocolBuilder builder, {
- void speechRecognizer_didRecognizeCommand_(
- NSSpeechRecognizer,
- NSString
- bool $keepIsolateAlive = true,
Adds the implementation of the NSSpeechRecognizerDelegate 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(NSSpeechRecognizer, objc.NSString)?
speechRecognizer_didRecognizeCommand_,
bool $keepIsolateAlive = true,
}) {
NSSpeechRecognizerDelegate.speechRecognizer_didRecognizeCommand_.implement(
builder,
speechRecognizer_didRecognizeCommand_,
);
builder.addProtocol($protocol);
}