Display constructor

Display({
  1. required int? displayId,
  2. int? flag,
  3. required String? name,
  4. int? rotation,
})

Constructor to initialize a Display object

  • displayId is required to identify the display
  • name is required to provide a label for the display
  • flag and rotation are optional and may be null

Implementation

Display({
  required this.displayId,
  this.flag,
  required this.name,
  this.rotation,
});