setMockInitialValues static method
void
setMockInitialValues({})
Initializes the application metadata with mock values for testing.
If the singleton instance has been initialized already, it is overwritten.
Implementation
@visibleForTesting
static void setMockInitialValues({
required String appName,
required String packageName,
required String version,
required String buildNumber,
required String buildSignature,
}) {
_fromPlatform = PackageInfo(
appName: appName,
packageName: packageName,
version: version,
buildNumber: buildNumber,
buildSignature: buildSignature,
);
}