Scene constructor

Scene({
  1. String? title,
  2. String? description,
  3. String? startTime,
  4. String? endTime,
})

Constructor for creating a Scene object.

The constructor initializes a Scene object with optional named parameters:

  • title: The title of the scene.
  • description: The description of the scene.
  • startTime: The start time of the scene.
  • endTime: The end time of the scene.

Implementation

Scene({
  this.title,
  this.description,
  this.startTime,
  this.endTime,
});