SceneRecall constructor

SceneRecall({
  1. required String action,
  2. required String status,
  3. required int duration,
  4. required LightDimming dimming,
})

Creates a SceneRecall object.

Implementation

SceneRecall({
  required this.action,
  required this.status,
  required int duration,
  required this.dimming,
})  : _originalAction = action,
      _originalStatus = status,
      _originalDuration = duration,
      _duration = duration,
      _originalDimming = dimming.copyWith();