sdkVersionConstraint property
VersionConstraint?
get
sdkVersionConstraint
Returns the current project's Dart SDK constraint.
Implementation
static VersionConstraint? get sdkVersionConstraint =>
pubSpec.environment['sdkConstraint'] ?? pubSpec.environment['sdk'];