HeartbeatEvent constructor
HeartbeatEvent(
- dynamic event
Implementation
HeartbeatEvent(dynamic event) {
if (event['location'] != null) {
try {
this.location = new Location(event['location']);
} catch (e) {
print(e.toString());
}
}
}