SystemPropertiesBuilder constructor

SystemPropertiesBuilder()

Builder for creating _SystemProperties instances using a fluent API.

This allows you to configure runtime properties step by step before finalizing the snapshot with build.

Example:

final properties = _SystemProperties.builder()
  .compilationMode(CompilationMode.release)
  .runningFromDill(true)
  .entrypoint('build/main.dill')
  .build();

print(properties.getCompilationMode()); // CompilationMode.release

Implementation

SystemPropertiesBuilder() : super.none();