needsExplicitFlush property

  1. @override
bool get needsExplicitFlush
override

If false, flush is a no-op and all writes are immediately visible (i.e. the underlying medium is RAM). Hot paths can skip awaiting flush and calling flush on every write when this is false.

Implementation

@override bool get needsExplicitFlush => true;