util/dart_version_util library
Classes
- ProjectDartVersionHint
- Normalization of Dart SDK version strings written to project files.
Constants
- platformFaultHint → const String
- Hint for failures that the project cannot do anything about.
Functions
-
ensureValidVersionConstraint(
String value, {String? sourceDescription}) → void -
Throws FailureException if
valueis not a parseableVersionConstraint. -
fetchSupportedDartSdkVersions(
Client cloudApiClient) → Future< List< String> > -
Fetches the Dart SDK minor versions supported by Serverpod Cloud,
such as
['3.11', '3.12', '3.13'], ordered lowest to highest.