all method

String all()

Helper to get a list of enabled platforms for logging

Implementation

String all() {
  final enabledPlatforms = <String>[];
  if (hasLinux) enabledPlatforms.add('Linux');
  if (hasWindows) enabledPlatforms.add('Windows');
  if (hasMacos) enabledPlatforms.add('Macos');

  return enabledPlatforms.join(", ");
}