KLPEventModel constructor

KLPEventModel({
  1. int? timestamp,
  2. String? event,
  3. int? distance,
  4. int? duration,
  5. String? key,
  6. KLPPosition? position,
  7. String? target,
})

Implementation

KLPEventModel({
  int? timestamp,
  this.event,
  this.distance,
  this.duration,
  this.key,
  this.position,
  this.target,
}) : timestamp = timestamp ?? DateTime.now().millisecondsSinceEpoch;