hasFile property

bool get hasFile

Whether output is directed to a (non-empty) file path.

Implementation

bool get hasFile => filePath != null && filePath!.isNotEmpty;