DiveAudioMeterState class

The state model for an audio meter.

Constructors

DiveAudioMeterState({int channelCount = 0, List? inputPeak, List? inputPeakHold, List? magnitude, List? magnitudeAttacked, List? peak, List? peakDecayed, List? peakHold, List<DateTime>? inputpPeakHoldLastUpdateTime, List<DateTime>? peakHoldLastUpdateTime, DateTime? lastUpdateTime, bool noSignal = false})
const

Properties

channelCount int
channel count
final
hashCode int
The hash code for this object.
no setterinherited
inputPeak List?
input peak - original
final
inputPeakHold List?
input peak hold - derived
final
inputpPeakHoldLastUpdateTime List<DateTime>?
input peak and hold last update time
final
lastUpdateTime DateTime?
last update time
final
magnitude List?
magnitude - original
final
magnitudeAttacked List?
magnitude attacked - derived
final
noSignal bool
no signal
final
peak List?
peak - original
final
peakDecayed List?
peak decayed - derived
final
peakHold List?
peak and hold - derived
final
peakHoldLastUpdateTime List<DateTime>?
peak and hold last update time
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyWith({dynamic channelCount, dynamic inputPeak, dynamic inputPeakHold, dynamic magnitude, dynamic magnitudeAttacked, dynamic peak, dynamic peakDecayed, dynamic peakHold, dynamic inputpPeakHoldLastUpdateTime, dynamic peakHoldLastUpdateTime, dynamic lastUpdateTime, dynamic noSignal}) DiveAudioMeterState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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