PrintSettings constructor

PrintSettings({
  1. required ColorMode color,
  2. required DuplexMode duplex,
  3. required MediaSize mediaSize,
  4. required int copies,
})

Implementation

PrintSettings({
  /// The requested color mode.
  required ColorMode color,

  /// The requested duplex mode.
  required DuplexMode duplex,

  /// The requested media size.
  required MediaSize mediaSize,

  /// The requested number of copies.
  required int copies,
}) : _wrapped = $js.PrintSettings(
        color: color.toJS,
        duplex: duplex.toJS,
        mediaSize: mediaSize.toJS,
        copies: copies,
      );