kernelInfo top-level property

String get kernelInfo

Implementation

String get kernelInfo {
  if (Dart.isAndroid) {
    return (Process.runSync("uname", ["-svm"])).stdout.toString().trim();
  }
  return (Process.runSync("uname", ["-srp"])).stdout.toString().trim();
}