clearGroups method

void clearGroups()

Clears all groups.

Implementation

void clearGroups() {
  groups = [];
}