version property Null safety
The version of the app.
Implementation
Version get version {
try {
final version = Version.parse(this!.versionString!);
if (version.build.isEmpty) {
return version.copy(build: '1');
}
return version;
} catch (e) {
return Version.none;
}
}