getCommandDart static method
Gets the appropriate Dart command for the current platform.
Returns 'dart.bat' on Windows and 'dart' on other platforms.
Example:
final dartCmd = FlutterHelper.getCommandDart();
print('Using Dart command: $dartCmd');
Implementation
static String getCommandDart() {
if (Platform.isWindows) {
return 'dart.bat';
} else {
return 'dart';
}
}