flush static method

Future<void> flush()

Awaits pending delivery on the active sink. Call before exiting the isolate or after logging a fatal error that may terminate the app.

Implementation

static Future<void> flush() => _sink.flush();