метод difference
Set<String> difference(Возвращает новый набор с элементами этого набора, которые отсутствуют в other.
То есть, возвращаемый набор содержит все элементы этого набора, которые не являются элементами other согласно other.contains.
Исходный код
Set<String> difference(Set<Object> other) => readClasses().difference(other);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-svg/AttributeClassSet/difference.html