isBreakingUpdate static method
Returns true if the latest CLI version is a breaking update from the current
Implementation
static bool isBreakingUpdate({
required Version currentVersion,
required Version latestVersion,
}) {
return currentVersion.nextBreaking <= latestVersion;
}