Skip to content

PolarECG

A batch of ECG samples from a Polar device.

Collected by PolarECGProbe for the PolarSamplingPackage.ECG measure. Supported by the H10, at 130 Hz.

Inheritance
Annotations

Constructors

PolarECG.fromJson

PolarECG.fromJson(
  1. Map<String, dynamic> json
)

PolarECG.fromPolarData

PolarECG.fromPolarData(
  1. PolarEcgData data
)

Create a PolarECG based on the original PolarEcgData reading.

PolarECG

PolarECG({
  1. required List<PolarECGSample> samples,
})

Properties

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

jsonType

String get jsonType
override

Return the __type to be used for JSON serialization of this class. Default is runtimeType. Only specify this if you need another type.

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.