canPrint property

bool get canPrint

True when there is something to print.

Implementation

bool get canPrint =>
    _template != null && (_job == null || _job!.totalCopies > 0);