Notify class

cli update

Constructors

Notify({required String packageName, required String currentVersion, bool verbose = false})
Constructor for the update notifier
const

Properties

currentVersion String
Current version of the package
final
hashCode int
The hash code for this object.
no setterinherited
packageName String
Name of the package you want to notify of update
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verbose bool
Output error logs
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update() Future<void>
Prints notice if version needs update

Operators

operator ==(Object other) bool
The equality operator.
inherited