isEmpty property

Future<bool> isEmpty

Returns a Future containing a bool indicating whether this file is empty or not.

Implementation

Future<bool> get isEmpty async => await length() == 0;