Routine constructor

Routine({
  1. required String id,
  2. String? workspaceId,
  3. String? name,
  4. String? description,
  5. Map<String, Object> schedule = const {},
  6. String? status,
  7. Map<String, Object> metadata = const {},
  8. DateTime? createdAt,
  9. DateTime? updatedAt,
})

Returns a new Routine instance.

Implementation

Routine({
  required this.id,
  this.workspaceId,
  this.name,
  this.description,
  this.schedule = const {},
  this.status,
  this.metadata = const {},
  this.createdAt,
  this.updatedAt,
});