SubmitJobResponse constructor

SubmitJobResponse({
  1. required SubmitJobStatus status,
  2. String? jobId,
})

Implementation

SubmitJobResponse({
  /// The status of the request.
  required SubmitJobStatus status,

  /// The id of created print job. This is a unique identifier among all print
  /// jobs on the device. If status is not OK, jobId will be null.
  String? jobId,
}) : _wrapped = $js.SubmitJobResponse(
        status: status.toJS,
        jobId: jobId,
      );