GeneratorMock class

Constructors

GeneratorMock()

Properties

bufferDurationSeconds int
getter/setter pair
channels int
getter/setter pair
format int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isStarted bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRate int
getter/setter pair
volume double
getter/setter pairoverride

Methods

dispose() → void
override
getAvailableFrames() int
override
getBuffer(int framesToRead) Float32List
override
init(int format, int channels, int sampleRate, int bufferDurationSeconds) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setNoise(NoiseType type, int seed, double amplitude) → void
override
setPulsewave(double frequency, double amplitude, double dutyCycle) → void
override
setWaveform(WaveformType type, double frequency, double amplitude) → void
override
start() → void
override
stop() → void
override
toString() String
A string representation of this object.
inherited

Operators

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