isEmptySync property

bool get isEmptySync

Returns true if this file is empty

Implementation

bool get isEmptySync => lengthSync() == 0;