MirrorModeInfo constructor

MirrorModeInfo({
  1. required MirrorMode mode,
  2. String? mirroringSourceId,
  3. List<String>? mirroringDestinationIds,
})

Implementation

MirrorModeInfo({
  /// The mirror mode that should be set.
  required MirrorMode mode,

  /// The id of the mirroring source display. This is only valid for 'mixed'.
  String? mirroringSourceId,

  /// The ids of the mirroring destination displays. This is only valid for
  /// 'mixed'.
  List<String>? mirroringDestinationIds,
}) : _wrapped = $js.MirrorModeInfo(
        mode: mode.toJS,
        mirroringSourceId: mirroringSourceId,
        mirroringDestinationIds: mirroringDestinationIds?.toJSArray((e) => e),
      );