restart method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'PrintJob.restart', apiUrl: 'https://developer.android.com/reference/android/print/PrintJob#restart()')])
Restarts this print job. You can request restart of a failed print job.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - PrintJob.restart)
Use the PlatformPrintJobController.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(
apiName: 'PrintJob.restart',
apiUrl:
'https://developer.android.com/reference/android/print/PrintJob#restart()',
),
],
)
Future<void> restart() {
throw UnimplementedError(
'restart is not implemented on the current platform',
);
}