dispose method

void dispose()

Disposes the controller state by emptying the stars list.

Implementation

void dispose() {
  stars = [];
}