StandardSystemDetector constructor

const StandardSystemDetector()

Default implementation of SystemEnvironmentDetector for standard Dart environments.

This detector analyzes the current Dart runtime environment using Platform APIs and creates a properly configured DefaultSystemEnvironment instance.

Detection capabilities:

  • Compilation mode analysis (debug/profile/release)
  • AOT vs JIT runtime detection
  • IDE launch detection via VM service flags
  • .dill file execution detection
  • Watch mode argument parsing

Example usage:

final detector = StandardSystemDetector();
if (detector.canDetect()) {
  final properties = detector.detect(args);
  // Use properties...
}

Implementation

const StandardSystemDetector();