PolarPpgSample class
Polar ohr sample
- Annotations
-
- @JsonSerializable()
Constructors
-
PolarPpgSample({required DateTime timeStamp, required List<
int> channelSamples}) - Constructor
-
PolarPpgSample.fromJson(Map<
String, dynamic> json) -
From json
factory
Properties
-
channelSamples
→ List<
int> -
The PPG (Photoplethysmography) raw value received from the optical sensor.
Based on PpgDataType the amount of channels varies. Typically ppg(n)
channel + n ambient(s).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeStamp → DateTime
-
Moment sample is taken in nanoseconds. The epoch of timestamp is 1.1.2000
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - To json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited