ReadiumTimebasedState class

Constructors

ReadiumTimebasedState({required TimebasedState state, Duration? currentOffset, Duration? currentBuffered, Duration? currentDuration, Locator? currentLocator})
ReadiumTimebasedState.fromJsonMap(Map<String, dynamic> map)
factory

Properties

currentBuffered Duration?
Duration buffered of the current file.
getter/setter pair
currentDuration Duration?
Total duration of the current file.
getter/setter pair
currentLocator Locator?
Current Locator in the publication being played.
getter/setter pair
currentOffset Duration?
Playback offset in the current audio file.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state TimebasedState
Current time-based player state.
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.
override

Operators

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