getPackageByName method
Implementation
Future<PackageInfo?> getPackageByName(String packageName) async {
if (!_isInitialized) throw Exception('PackageStorage not initialized');
return _box!.get(packageName);
}
Future<PackageInfo?> getPackageByName(String packageName) async {
if (!_isInitialized) throw Exception('PackageStorage not initialized');
return _box!.get(packageName);
}