MirrorSnapshot constructor

MirrorSnapshot({
  1. required bool isScreenMirrored,
  2. required bool isExternalDisplayConnected,
  3. required int displayCount,
  4. bool isScreenShared = false,
})

Creates a MirrorSnapshot with the given display state values.

Implementation

MirrorSnapshot({
  required this.isScreenMirrored,
  required this.isExternalDisplayConnected,
  required this.displayCount,
  this.isScreenShared = false,
});