factory Heartbeat.fromJson(Map<String, dynamic> json) => FromJsonFactory().fromJson<Heartbeat>(json);