MediaVolumeChangeEvent class Adding data to your events Media events Tracking events

Media player event sent when the volume has changed.

Implemented types
Annotations

Constructors

MediaVolumeChangeEvent({required int newVolume, int? previousVolume})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
newVolume int
Volume percentage after the change.
final
previousVolume int?
Volume percentage before the change. If not set, the previous volume 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