enforceLockfile property
Whether pubspec.lock
is enforced when running pub get
or not.
Useful when you want to ensure the same versions of dependencies are used
across different environments/machines.
The default is false
.
Implementation
final bool enforceLockfile;