MicrophoneRecorderValue class

The state and result of a recorder.

Constructors

MicrophoneRecorderValue({required bool started, required bool stopped, required MicrophoneRecording? recording})
Constructs a recorder given the values.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
recording MicrophoneRecording?
The result of the recorder, i.e. the recording.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
started bool
Whether the recorder has been started yet.
final
stopped bool
Whether the recorder has been stopped.
final

Methods

copyWith({bool? started, bool? stopped, MicrophoneRecording? recording}) MicrophoneRecorderValue
Returns a new instance that has the same values as this current instance, except for any overrides passed in as arguments to copyWidth.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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