bool isValidVersionWithBuild(String version) { if (!_semverRegex.hasMatch(version)) { return false; } return version.contains('+'); }