applyYamlTestStorageBootstrap function
Implementation
Future<void> applyYamlTestStorageBootstrap(EnsembleTestSetup setup) async {
for (final entry in setup.initialPublicStorage?.entries ??
const Iterable<MapEntry<String, dynamic>>.empty()) {
await StorageManager().write(entry.key, entry.value);
}
for (final entry in setup.initialKeychain?.entries ??
const Iterable<MapEntry<String, dynamic>>.empty()) {
await StorageManager().writeSecurely(key: entry.key, value: entry.value);
}
}