TimeInHeartRateZone.fromJson constructor

TimeInHeartRateZone.fromJson(
  1. Map json_
)

Implementation

TimeInHeartRateZone.fromJson(core.Map json_)
  : this(
      heartRateZoneType: json_['heartRateZoneType'] as core.String?,
      interval: json_.containsKey('interval')
          ? ObservationTimeInterval.fromJson(
              json_['interval'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );