MediaPlaybackRateChangeEvent class Adding data to your events Media events Tracking events
Media player event sent when the playback rate has changed.
Constructors
- MediaPlaybackRateChangeEvent({required double newRate, double? previousRate})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- newRate → double
-
Playback rate after the change (1 is normal)
final
- previousRate → double?
-
Playback rate before the change (1 is normal)
If not set, the previous rate is taken from the last setting in media player.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
endpoint(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited