build method
_SystemProperties
build()
Finalizes and creates a new immutable _SystemProperties
snapshot.
Example:
final props = _SystemProperties.builder()
.compilationMode(CompilationMode.release)
.build();
print(props.isProductionMode()); // true
Implementation
_SystemProperties build() {
return _SystemProperties(
compilationMode: _compilationMode,
runningFromDill: _runningFromDill,
runningAot: _runningAot,
runningJit: _runningJit,
entrypoint: _entrypoint,
launchCommand: _launchCommand,
ideRunning: _ideRunning,
dependencyCount: _dependencyCount,
configurationCount: _configurationCount,
watchModeEnabled: _watchModeEnabled,
);
}