NmFakePlayback class

A player in memory; cues mark themselves fired in show.

Implemented types

Constructors

NmFakePlayback(List<String> log, {NmDomePlaybackInfo initial = NmDomePlaybackInfo.idle, NmFakeShow? show})
Creates an NmFakePlayback.

Properties

hashCode → int
The hash code for this object.
no setterinherited
log → List<String>
Shared call log.
final
playback → ValueListenable<NmDomePlaybackInfo>
Status, item, position, duration, volume, brightness.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
show → NmFakeShow?
The show whose cues fire.
final
value → ValueNotifier<NmDomePlaybackInfo>
The current info.
final

Methods

cue(String cueId) → Future<void>
Fires a cue.
override
next() → Future<void>
Next item.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → Future<void>
Pauses.
override
play(String targetId) → Future<void>
Plays a show, playlist item or asset.
override
previous() → Future<void>
Previous item.
override
resume() → Future<void>
Resumes.
override
seek(Duration position) → Future<void>
Moves the playhead.
override
setBrightness(double brightness) → Future<void>
Brightness 0…1.
override
setVolume(double volume) → Future<void>
Volume 0…1.
override
stop() → Future<void>
Stops.
override
toString() → String
A string representation of this object.
inherited

Operators

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