SpotItData

class SpotItData(var situations: List<SpotItSituation> = emptyList(), var symptoms: List<SpotItSymptom> = emptyList(), var endorsements: List<SpotItEndorsement> = emptyList(), var successes: List<SpotItSuccess> = emptyList())

Represents the data structure for a SpotIt assessment, containing lists of situations, symptoms, endorsements, and successes. This data is used to populate the SpotIt assessment screen and allows users to select items relevant to their mental fitness.

Constructors

Link copied to clipboard
constructor(situations: List<SpotItSituation> = emptyList(), symptoms: List<SpotItSymptom> = emptyList(), endorsements: List<SpotItEndorsement> = emptyList(), successes: List<SpotItSuccess> = emptyList())

Properties

Link copied to clipboard

A list of SpotItEndorsement objects, representing positive affirmations or coping strategies.

Link copied to clipboard

A list of SpotItSituation objects, representing various life situations.

Link copied to clipboard

A list of SpotItSuccess objects, representing achievements or positive outcomes.

Link copied to clipboard

A list of SpotItSymptom objects, representing different mental health symptoms.

Functions

Link copied to clipboard
open override fun toString(): String