CPDFOptimizeResult class

The outcome of a document optimization run.

Constructors

CPDFOptimizeResult({required bool ok, required bool cancelled, required int pagesProcessed, required int stepsUs, required int saveUs})
const
CPDFOptimizeResult.fromJson(Map json)
factory

Properties

cancelled → bool
Whether the run stopped because CPDFDocument.cancelOptimize was called.
final
hashCode → int
The hash code for this object.
no setterinherited
ok → bool
Whether the run completed successfully.
final
pagesProcessed → int
How many pages the run processed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
saveUs → int
Time spent serializing the optimized document, in microseconds.
final
stepsUs → int
Time spent on the optimization steps, in microseconds.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited