MockSoundChannel class

Inheritance

Constructors

MockSoundChannel(MockSound mockSound, num startTime, num duration, bool loop, SoundTransform soundTransform)

Properties

loop → bool
read-only, override
paused ↔ bool
read / write, override
position ↔ num
read / write, override
sound Sound
read-only, override
soundTransform SoundTransform
read / write, override
stopped → bool
read-only, override
hashCode → int
The hash code for this object.
read-only, inherited
onComplete EventStream<Event>
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

stop() → void
override
addEventListener<T extends Event>(String eventType, EventListener<T> eventListener, { bool useCapture: false, int priority: 0 }) → StreamSubscription<T>
Adds an event listener to receive events. [...]
inherited
dispatchEvent(Event event) → void
Dispatches the event to all listening subscribers.
inherited
dispatchEventRaw(Event event, EventDispatcher target, EventPhase eventPhase) → void
Do not use the dispatchEventRaw method unless you want to override the way how events are dispatched for display list object. Please use dispatchEvent instead.
inherited
hasEventListener(String eventType, { bool useCapture: false }) → bool
Returns true if the EventDispatcher has event listeners. The useCapture paramenter defines if the event listeners should be registered for the capturing event phase or not.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
on<T extends Event>(String eventType) EventStream<T>
Returns an event stream of type eventType. [...]
inherited
pause() → void
inherited
removeEventListener<T extends Event>(String eventType, EventListener<T> eventListener, { bool useCapture: false }) → void
Removes an event listener to stop receiving events. [...]
inherited
removeEventListeners(String eventType) → void
Removes all event listeners of a given event type.
inherited
resume() → void
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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