lastLevel property

double lastLevel

Returns the last sound level received.

Note this is only available when the soundLevel is set to true on a call to listen, will be 0 at all other times.

Implementation

double get lastLevel => _lastLevel;