os property

String get os

Implementation

static String get os {
  if (isWindows) return 'Windows';
  if (isMacOS) return 'macOS';
  return 'Linux';
}