TimeRangeMixin mixin

A mixin that provides optional start and end time fields for timeline-based elements.

Classes that mix in TimeRangeMixin can be constrained to be active only during a specific time range of the video.

The element is active from startTime up to, but not including, endTime: at exactly endTime it is no longer active.

  • If startTime is null, the element starts from the beginning.
  • If endTime is null, the element lasts until the end.
Mixin applications

Properties

endTime → Duration?
The end time for this element, relative to the start of the video: the first point in time the element is no longer active.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startTime → Duration?
The start time for this element, relative to the start of the video.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited