version property

String? get version

Version with build number, as sent in app.version.

Implementation

String? get version {
  if (appVersion == null) return null;
  final b = buildNumber;
  return b == null || b.isEmpty ? appVersion : '$appVersion+$b';
}