PrintError enum
Error codes returned in response to onPrintRequested
event.
Values
- ok → const PrintError
-
Specifies that the operation was completed successfully.
const PrintError('OK')
- failed → const PrintError
-
Specifies that a general failure occured.
const PrintError('FAILED')
- invalidTicket → const PrintError
-
Specifies that the print ticket is invalid. For example, the ticket is inconsistent with some capabilities, or the extension is not able to handle all settings from the ticket.
const PrintError('INVALID_TICKET')
- invalidData → const PrintError
-
Specifies that the document is invalid. For example, data may be corrupted or the format is incompatible with the extension.
const PrintError('INVALID_DATA')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toJS → String
-
no setter
- value → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJS(
String value) → PrintError
Constants
-
values
→ const List<
PrintError> - A constant List of the values in this enum, in order of their declaration.