PackageInfoData class

Package info data.

Constructors

PackageInfoData({required String appName, required String packageName, required String version, required String buildNumber, required String buildSignature, String? installerStore})
Constructs an instance with the given values for testing. PackageInfoData instances constructed this way won't actually reflect any real information from the platform, just whatever was passed in at construction time.

Properties

appName String
The app name. CFBundleDisplayName on iOS, application/label on Android.
final
buildNumber String
The build number. CFBundleVersion on iOS, versionCode on Android.
final
buildSignature String
The build signature. Contains the signing key signature (hex) on Android and empty string on everything else.
final
hashCode int
The hash code for this object.
no setterinherited
installerStore String?
The installer store. Indicates through which store this application was installed.
final
packageName String
The package name. bundleIdentifier on iOS, getPackageName on Android.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
The package version. CFBundleShortVersionString on iOS, versionName on Android.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited