LevelChangedEvent constructor

LevelChangedEvent({
  1. required String deviceId,
  2. required int level,
})

Implementation

LevelChangedEvent({
  /// ID of device whose sound level has changed.
  required String deviceId,

  /// The device's new sound level.
  required int level,
}) : _wrapped = $js.LevelChangedEvent(
        deviceId: deviceId,
        level: level,
      );