clear method

void clear()

Implementation

void clear() {
  value = <T>[];
}