Skip to content

ECG

Electrocardiogram data of a single lead.

Data type CarpDataTypes.ECG.

Inheritance
Annotations

Constructors

ECG.fromJson

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

ECG

ECG({
  1. int samplingFrequencyHz = 250,
  2. List<double> milliVolt = const [],
})

Properties

fromJsonFunction

Function get fromJsonFunction
override

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

milliVolt

List<double> milliVolt
getter/setter pair

The array of ECG voltage measurements in millivolt (mV).

samplingFrequencyHz

int samplingFrequencyHz
getter/setter pair

The sampling frequency in hertz (Hz).

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.