TimeRanges class

Used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the

MDN Reference

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

TimeRanges()
factory

Properties

end num Function(num)

Available on TimeRanges, provided by the TimeRanges$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
length num

Available on TimeRanges, provided by the TimeRanges$Typings extension

Returns the number of ranges in the object.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start num Function(num)

Available on TimeRanges, provided by the TimeRanges$Typings extension

getter/setter pair

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