AudioEvent constructor

const AudioEvent({
  1. required AudioEventType eventType,
  2. Duration? duration,
  3. String? logMessage,
  4. bool? isPrepared,
})

Creates an instance of AudioEvent.

The eventType argument is required.

Implementation

const AudioEvent({
  required this.eventType,
  this.duration,
  this.logMessage,
  this.isPrepared,
});