RoutineRun constructor

RoutineRun({
  1. required String id,
  2. String? routineId,
  3. String? status,
  4. int? progress,
  5. Map<String, Object> metadata = const {},
  6. DateTime? startedAt,
  7. DateTime? completedAt,
})

Returns a new RoutineRun instance.

Implementation

RoutineRun({
  required this.id,
  this.routineId,
  this.status,
  this.progress,
  this.metadata = const {},
  this.startedAt,
  this.completedAt,
});