invalidate method
Invalidate resource by key and reload.
Implementation
Future<void> invalidate(K key) =>
_resources[key]?.invalidate() ?? Future.value();
Invalidate resource by key and reload.
Future<void> invalidate(K key) =>
_resources[key]?.invalidate() ?? Future.value();