VolumeChangedEvent class

Represents an event emitted on volume change.

Constructors

VolumeChangedEvent({required int level, required AudioVolumeType type})
Represents an event emitted on volume change.

Properties

hashCode int
The hash code for this object.
no setterinherited
level int
New volume level.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AudioVolumeType
Specifies an audio type for which the volume has changed.
final

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

Static Methods

fromMap(Map<String, dynamic> map) VolumeChangedEvent
Creates an event from a map.