toEntity method

LearningSession toEntity()

Implementation

LearningSession toEntity() {
  return LearningSession(
    id: id,
    userId: userId,
    topicId: topicId,
    domainId: domainId,
    sessionType: sessionType,
    startedAt: startedAt,
    endedAt: endedAt,
    durationMinutes: durationMinutes,
    kolbPhase: kolbPhase,
    reflectionCompleted: reflectionCompleted,
    reflectionText: reflectionText,
    confidenceBefore: confidenceBefore,
    confidenceAfter: confidenceAfter,
    keyTakeaways: keyTakeaways,
    isValidation: isValidation,
    validationTarget: validationTarget,
    validationResult: validationResult,
  );
}