delete<T extends Cacheable> method
void
delete<T extends Cacheable>({})
override
Implementation
@override
void delete<T extends Cacheable>(
{required String channelKey, String? key, Cacheable? data}) {
final unit = _cacheMap[channelKey];
if (key != null && unit != null) {
unit.delete<T>(key: key, data: data);
} else {
_cacheMap.remove(channelKey);
}
}