setChannel method
- MethodChannel newChannel
Set the MethodChannel used to communicate with the engine text processing feature.
This is only meant for testing within the Flutter SDK.
Implementation
@visibleForTesting
void setChannel(MethodChannel newChannel) {
assert(() {
_processTextChannel = newChannel;
return true;
}());
}