AndroidPrintJobControllerCreationParams class

Object specifying creation parameters for creating a AndroidPrintJobController.

When adding additional fields make sure they can be null or have a default value to avoid breaking changes. See PlatformPrintJobControllerCreationParams for more information.

Annotations

Constructors

AndroidPrintJobControllerCreationParams.new({required String id, PrintJobCompletionHandler? onComplete})
Creates a new AndroidPrintJobControllerCreationParams instance.
const
AndroidPrintJobControllerCreationParams.fromPlatformPrintJobControllerCreationParams(PlatformPrintJobControllerCreationParams params)
Creates a AndroidPrintJobControllerCreationParams instance based on PlatformPrintJobControllerCreationParams.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Print job ID.
finalinherited
onComplete → PrintJobCompletionHandler?
A completion handler used to handle the conclusion of the print job (for instance, to reset state) and to handle any errors encountered in printing.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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