accepts method

bool accepts(
  1. PrintTemplate template
)

Templates the current job can use.

Implementation

bool accepts(PrintTemplate template) =>
    _job == null || dataProvider.acceptsRows(template);