ApplicationInformation class
Name, version and install information about the app collecting the data.
Collected by ApplicationProbe for the DeviceSamplingPackage.APPLICATION_INFORMATION measure.
Uses the same data structure as the package_info_plus package.
- Inheritance
-
- Object
- Serializable
- Data
- ApplicationInformation
- Annotations
-
- @JsonSerializable.new(includeIfNull: false, explicitToJson: true)
Constructors
- ApplicationInformation({required String appName, required String packageName, required String version, required String buildNumber, String buildSignature = '', String? installerStore, DateTime? installTime, DateTime? updateTime})
-
ApplicationInformation.fromJson(Map<
String, dynamic> json) -
factory
- ApplicationInformation.fromPackageInfo(PackageInfo info)
-
Creates an ApplicationInformation from the
package_info_plusinfo.
Properties
- $type ↔ String?
-
The type name written to
__typein JSON; set tojsonTypeon creation.getter/setter pairinherited - appName → String
-
The app name.
final
- buildNumber → String
-
The build number.
Generated from the version in
pubspec.yaml.final - buildSignature → String
-
The build signature.
SHA-256 signing key signature (hex) on Android.
Empty string on iOS.
final
- dataType → DataType
-
The type of this data as a
DataType.no setterinherited - fromJsonFunction → Function
-
The generated function that converts a JSON map to an object of this type.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- installerStore → String?
-
The installer store. Indicates through which store this application was installed.
final
- installTime → DateTime?
-
The time when the application was installed.
final
- jsonType → String
-
The
__typeused for JSON serialization of this class.no setterinherited - packageName → String
-
The package name.
final
- recordId → String?
-
Stable identifier of the source record, if available; null by default.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateTime → DateTime?
-
The time when the application was last updated.
final
- version → String
-
The package version.
Generated from the version in
pubspec.yaml.final
Methods
-
equivalentTo(
Data other) → bool -
Returns
trueif the appName is equal.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns a JSON map of this object, including the
__typeproperty.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited