PlayerEvent class

Annotations
  • @freezed

Constructors

PlayerEvent({@Default(false) bool isBuffering, @Default(false) bool isPlaying, @Default(false) bool isPlayingAd, @Default(false) bool isReady, @Default(false) bool isEnded, @Default(0.0) double volume, @Default(Size.zero) Size size, @Default(Duration.zero) Duration duration, @Default(Duration.zero) Duration bufferedDuration})
const
factory

Properties

bufferedDuration Duration
no setterinherited
copyWith → $PlayerEventCopyWith<PlayerEvent>
no setterinherited
duration Duration
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isBuffering bool
no setterinherited
isEnded bool
no setterinherited
isPlaying bool
no setterinherited
isPlayingAd bool
no setterinherited
isReady bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
no setterinherited
volume double
no setterinherited

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