clear method

Future<void> clear()

Asynchronously flushes all the data in this file leaving it to be empty.

Implementation

Future<void> clear() => writeAsString('');