HeartbeatSeriesMeasurement.fromJson constructor

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

General constructor from JSON payload

Implementation

HeartbeatSeriesMeasurement.fromJson(Map<String, dynamic> json)
    : timeSinceSeriesStart = json['timeSinceSeriesStart'],
      precededByGap = json['precededByGap'],
      done = json['done'];