newVersion property

String? newVersion
getter/setter pair

The new version to assign to the package being rolled back to.

This effectively "rolls forward" the previous package by giving it a higher version number than the currently-published package. E.g. if the current published version is 1.1, the new version could be 1.1.1 or 1.2 but not 1.0.

Required.

Implementation

core.String? newVersion;