VideoEvent constructor
VideoEvent({
- required VideoEventType eventType,
- required String? key,
- Duration? duration,
- Size? size,
- List<
DurationRange> ? buffered, - Duration? position,
Creates an instance of VideoEvent.
The eventType
argument is required.
Depending on the eventType
, the duration
, size
and buffered
arguments can be null.
Implementation
VideoEvent({
required this.eventType,
required this.key,
this.duration,
this.size,
this.buffered,
this.position,
});