Soundbite constructor

Soundbite({
  1. double? startTime,
  2. double? duration,
  3. String? value,
})

Constructor for creating a Soundbite object.

The constructor initializes a Soundbite object with optional named parameters:

  • startTime: The startTime attribute value of the soundbite.
  • duration: The duration attribute value of the soundbite.
  • value: The value of the soundbite.

Implementation

Soundbite({
  this.startTime,
  this.duration,
  this.value,
});