getCommandDart static method

String getCommandDart()

Implementation

static String getCommandDart() {
  if (Platform.isWindows) {
    return 'dart.bat';
  } else {
    return 'dart';
  }
}