startNodeWithScript method
Starts the embedded Node.js engine with an inline JavaScript script.
redirectOutputToLogcat: If true, routes stdout/stderr to Logcat.
Platform-specific implementations must override this.
Implementation
@override
Future<void> startNodeWithScript(
String script, {
bool redirectOutputToLogcat = true,
}) async {
await _methodChannel.invokeMethod('startNodeWithScript', {
'script': script,
'options': {'redirectOutputToLogcat': redirectOutputToLogcat},
});
}