removeIntSetOrNull method
Removes the set entry for key and returns a detached set of int elements, or null if key is missing or null.
Implementation
Set<int>? removeIntSetOrNull(final dynamic key) {
final Set<int>? result = asIntSetOrNull(key) == null ? null : Set<int>.of(asIntSet(key));
remove(key);
return result;
}