assertHas method
Assert that key currently exists in the cache store.
Implementation
void assertHas(String key) {
if (!_store.has(key)) {
throw AssertionError(
'Expected cache to have key "$key" but it was missing.',
);
}
}
Assert that key currently exists in the cache store.
void assertHas(String key) {
if (!_store.has(key)) {
throw AssertionError(
'Expected cache to have key "$key" but it was missing.',
);
}
}