getCommandsNeedingWarmup function

Iterable<String> getCommandsNeedingWarmup(
  1. Iterable<String> allCommands,
  2. Set<String> existingSnapshots
)

Implementation

Iterable<String> getCommandsNeedingWarmup(Iterable<String> allCommands, Set<String> existingSnapshots) {
  return allCommands.where((cmd) => !existingSnapshots.contains(cmd));
}