Display constructor

Display({
  1. required bool builtin,
  2. required String connection,
  3. required int currentResX,
  4. required int currentResY,
  5. required bool main,
  6. required String model,
  7. required String pixeldepth,
  8. required int positionX,
  9. required int positionY,
  10. required int resolutionx,
  11. required int resolutiony,
  12. required int sizex,
  13. required int sizey,
  14. required String vendor,
})

Example:

builtin: true

connection: "INTERNAL"

currentResX: 1440

currentResY: 900

main: false

model: "Generic PnP Monitor"

pixeldepth: "32"

positionX: 1920

positionY: 290

resolutionx: 1440

resolutiony: 900

sizex: 30

sizey: 19

vendor: "(Standard monitor types)"

Implementation

Display({
  required this.builtin,
  required this.connection,
  required this.currentResX,
  required this.currentResY,
  required this.main,
  required this.model,
  required this.pixeldepth,
  required this.positionX,
  required this.positionY,
  required this.resolutionx,
  required this.resolutiony,
  required this.sizex,
  required this.sizey,
  required this.vendor,
});