TPStreamsPlayerValue constructor
TPStreamsPlayerValue({})
Creates an instance of TPStreamsPlayerValue.
Use this class to represent the state of a streams player, including playback information, buffering status, and available playback speed options.
Implementation
TPStreamsPlayerValue(
{this.duration = Duration.zero,
this.position = Duration.zero,
this.isLoading = false,
this.isPlaying = false,
this.isBuffering = false,
this.isEnded = false,
this.error});