allBut static method

List<UpdateType> allBut(
  1. Iterable<UpdateType> exclusions
)

Get a list with allBut UpdateType

Implementation

static List<UpdateType> allBut(Iterable<UpdateType> exclusions) {
  return all
    ..removeWhere(exclusions.contains)
    ..toList();
}