detectRunningIDEsCached method
Returns cached IDE detection results, or performs detection if cache is empty.
Implementation
Future<List<IdeType>> detectRunningIDEsCached() async {
if (!hasCachedResults.value) {
return detectRunningIDEs();
}
return cachedRunningIDEs.toList();
}