DocumentFormatTransformation constructor
DocumentFormatTransformation(
- DucumentOutFormatTValue output, {
- int? page,
Implementation
DocumentFormatTransformation(
DucumentOutFormatTValue super.output, {
int? page,
}) : assert(
page != null
? [DucumentOutFormatTValue.PNG, DucumentOutFormatTValue.JPG]
.contains(output)
: true,
'Page convert works only for "${DucumentOutFormatTValue.PNG}" and "${DucumentOutFormatTValue.JPG}" formats'),
_page = page != null ? _DocumentFormatPageTransformation(page) : null;