toStringSet method

Set<String> toStringSet()

Converts this set of RebuildGroup to a set of strings.

Use this when passing groups to emit methods or widget constructors:

emitUpdate(groupsToRebuild: {CounterGroups.counter}.toStringSet());

Implementation

Set<String> toStringSet() => map((g) => g.name).toSet();