clearSync method

void clearSync()

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

Implementation

void clearSync() => writeAsStringSync('');