Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
fetchLatestCLIVersion({required CommandLogger logger, required String localStoragePath, PubApiClient? pubClientOverride})
→ Future<Version?>
-
Check current Serverpod CLI version and prompt user to update if needed
Returns true if the CLI should be updated, false otherwise
-
isBreakingUpdate({required Version currentVersion, required Version latestVersion})
→ bool
-
Returns true if the latest CLI version is a breaking update from the current