NmFakeAudioZones class

Audio zones in memory; emit pushes meter levels.

Implemented types

Constructors

NmFakeAudioZones(List<String> log, NmDomeAudioZonesData initial)
Creates an NmFakeAudioZones.

Properties

hashCode → int
The hash code for this object.
no setterinherited
log → List<String>
Shared call log.
final
meters → Stream<Map<String, double>>
Levels 0…1 by zone id (the kit shows at most 15 updates per second).
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → ValueNotifier<NmDomeAudioZonesData>
The current zones.
final
zones → ValueListenable<NmDomeAudioZonesData>
Zones.
no setteroverride

Methods

emit(Map<String, double> levels) → void
Pushes levels.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setGain(String zoneId, double db) → Future<void>
Sets the fader, dB.
override
setMute(String zoneId, bool muted) → Future<void>
Mutes or unmutes.
override
setSolo(String zoneId, bool solo) → Future<void>
Solos or unsolos.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited