close abstract method Null safety

void close()

Closes this and flushes any outstanding data.

Implementation

void close();