clear method

void clear()

Clear set

Implementation

void clear() {
  if (value.isNotEmpty) {
    value = <T>{};
  }
}