AudiogramHealthValue class
A HealthValue object for audiograms
Parameters:
- frequencies - array of frequencies of the test
- leftEarSensitivities threshold in decibel for the left ear
- rightEarSensitivities threshold in decibel for the left ear
- Inheritance
-
- Object
- Serializable
- HealthValue
- AudiogramHealthValue
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
Constructors
-
AudiogramHealthValue({required List<
num> frequencies, required List<num> leftEarSensitivities, required List<num> rightEarSensitivities}) - AudiogramHealthValue.fromHealthDataPoint(dynamic dataPoint)
-
Create a AudiogramHealthValue based on a health data point from native data format.
factory
-
AudiogramHealthValue.fromJson(Map<
String, dynamic> json) -
factory
Properties
- $type ↔ String?
-
The runtime class name (type) of this object.
Used for deserialization from JSON objects.
getter/setter pairinherited
-
frequencies
↔ List<
num> -
Array of frequencies of the test.
getter/setter pair
- fromJsonFunction → Function
-
The function which can convert a JSON string to an object of this type.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setteroverride
- jsonType → String
-
Return the
__type
to be used for JSON serialization of this class. Default is runtimeType. Only specify this if you need another type.no setterinherited -
leftEarSensitivities
↔ List<
num> -
Threshold in decibel for the left ear.
getter/setter pair
-
rightEarSensitivities
↔ List<
num> -
Threshold in decibel for the right ear.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Return a JSON encoding of this object.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override