dispose method

void dispose()

Implementation

void dispose() {
  disposed = true;
}