destroy method

void destroy()

Releases resources and removes any listeners.

Implementation

void destroy() => js.destroy();