VersionChecker class
Checks pub.dev for newer versions of nylo_installer
Constructors
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
-
checkForUpdate(
) → Future< UpdateInfo?> - Check if an update is available, using a cached result when possible. Returns UpdateInfo if a newer version exists, null otherwise. Never throws — all errors are silently caught.
-
fetchLatestVersion(
) → Future< String?> - Fetch the latest version string from pub.dev. Returns null on any failure.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
printUpdateBanner(
UpdateInfo info) → void - Print the update available banner.