startNodeProject method
Starts the Node.js engine by executing the given entry file mainFileName.
redirectOutputToLogcat: If true, routes stdout/stderr to Logcat.
Platform-specific implementations must override this.
Implementation
@override
Future<void> startNodeProject(
String mainFileName, {
bool redirectOutputToLogcat = true,
}) async {
await _methodChannel.invokeMethod('startNodeProject', {
'mainFileName': mainFileName,
'options': {'redirectOutputToLogcat': redirectOutputToLogcat},
});
}