version property

String? version
getter/setter pair

Sets the current version number of the application.

By default, both iOS and Android sync their version numbers with the current version in your pubspec, minus any build or pre-release information. This property should only be used if you want to add this additional information back in, or if the version in your pubspec does not match your application version.

Because 'version' is a Datadog tag, it needs to comply with the rules in Defining Tags Datadog documentation. We will automatically replace + with - for simplicity.

Note: If you are uploading Flutter symbols or an Android mapping file, this version MUST match the version specified in the flutter-symbols upload command in order for symbolication to work.

Implementation

String? version;