hasFile property

bool get hasFile

Indicates whether the file property is not null.

Implementation

bool get hasFile => file != null;