ActivityRecord constructor

ActivityRecord({
  1. required String? activityTypeId,
  2. DateTime? startTime,
  3. DateTime? endTime,
  4. String? id,
  5. String? name,
  6. String? description,
  7. String? timeZone,
  8. int? activeTimeMillis,
  9. ActivitySummary? activitySummary,
  10. DeviceInfo? deviceInfo,
})

Implementation

ActivityRecord({
  required this.activityTypeId,
  this.startTime,
  this.endTime,
  this.id,
  this.name,
  this.description,
  this.timeZone,
  this.activeTimeMillis,
  this.activitySummary,
  this.deviceInfo,
})  : _isKeepGoing = false,
      _hasDurationTime = false;