HearingRange class

A representation of a hearing range.

See Hearing range.

Annotations
  • @immutable

Constructors

HearingRange({required Frequency min, required Frequency max})
Creates a new HearingRange.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
max Frequency
The highest bound of this HearingRange.
final
min Frequency
The lowest bound of this HearingRange.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isAudible(Frequency frequency) bool
Whether frequency is audible in this HearingRange.
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.
override

Constants

human → const HearingRange
The human hearing range.