dispose abstract method

void dispose()

Closes streams depending on the current state

Implementation

void dispose();