PackageInfo constructor
PackageInfo({})
Constructs an instance with the given values for testing. PackageInfo instances constructed this way won't actually reflect any real information from the platform, just whatever was passed in at construction time.
See fromPlatform for the right API to get a PackageInfo that's actually populated with real data.
Implementation
PackageInfo({
required this.appName,
required this.packageName,
required this.version,
required this.buildNumber,
this.buildSignature = '',
});