easy_mock_package_info 0.1.0
easy_mock_package_info: ^0.1.0 copied to clipboard
Readable test mock for package_info_plus. Sets PackageInfo through the package's own setMockInitialValues seam (it caches the result, so a raw channel mock would be unreliable).
0.1.0 #
- Initial release.
mockPackageInfo— setsPackageInfovia package_info_plus'setMockInitialValuesseam (it cachesfromPlatform, so a channel mock would be unreliable — hence this depends on the real package).set({appName, packageName, version, buildNumber});install()resets to defaults.