maybeAdd method

Set<T> maybeAdd(
  1. Set<T>? add
)

Adds add to this if it is not null.

Implementation

Set<T> maybeAdd(Set<T>? add) => maybeAddToSet(this, add)!;