HeartbeatSeriesMeasurement class

Equivalent of HeartbeatSeries from HealthKitReporter https://cocoapods.org/pods/HealthKitReporter

Supports map representation.

Has a HeartbeatSeries.fromJson constructor to create instances from JSON payload coming from iOS native code.

Requires SeriesType permissions provided.

Constructors

HeartbeatSeriesMeasurement(num timeSinceSeriesStart, bool precededByGap, bool done)
const
HeartbeatSeriesMeasurement.fromJson(Map<String, dynamic> json)
General constructor from JSON payload

Properties

done bool
final
hashCode int
The hash code for this object.
no setterinherited
map Map<String, dynamic>
General map representation
no setter
precededByGap bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeSinceSeriesStart num
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

collect(List list) List<HeartbeatSeriesMeasurement>
Simplifies creating a list of objects from JSON payload.