setMute method

  1. @override
Future<void> setMute(
  1. String zoneId,
  2. bool muted
)
override

Mutes or unmutes.

Implementation

@override
Future<void> setMute(String zoneId, bool muted) async {
  log.add('mute $zoneId $muted');
  _update(zoneId, (z) => z.copyWith(muted: muted));
}