flush method

Future flush()

Flushes the underlying StringSink if it is an IOSink, otherwise returns a completed Future.

Implementation

Future flush() => _wrapper.flush();