ActivityEvent constructor Null safety

ActivityEvent(
  1. ActivityType type,
  2. Int64 startTime,
  3. Int64 endTime,
  4. double startLatitude,
  5. double startLongitude,
  6. double endLatitude,
  7. double endLongitude,
  8. int distance,
  9. int airDistance,
  10. int maxDistance,
  11. Int64 eventSavedTime
)

Implementation

ActivityEvent(
    this.type,
    this.startTime,
    this.endTime,
    this.startLatitude,
    this.startLongitude,
    this.endLatitude,
    this.endLongitude,
    this.distance,
    this.airDistance,
    this.maxDistance,
    this.eventSavedTime);