SwiftinitHealthReportCoreUIHealthReportCoreUI.HealthDetailsQuestionViewModel
init
HealthReportCoreUI.HealthDetailsQuestionViewModel.__allocating_init(question: HealthReportCoreUI.HealthDetailsQuestion, detailsModel: HealthReportCoreUI.HealthDetailsModel, suggestedDetails: HealthReportCoreUI.HealthDetails, proceedActionTitle: Foundation.LocalizedStringResource, colorPalette: HealthDomainsUI.ColorPalette, healthStore: HKHealthStore?, requiresAnswerToProceed: Bool, progress: Double?, proceedActionHandler: @MainActor @Sendable () -> ()) -> HealthReportCoreUI.HealthDetailsQuestionViewModel
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0question:
- 1detailsModel:
- 2suggestedDetails:
- 3proceedActionTitle:
- 4colorPalette:
- 5healthStore:enumSwift.Optional
- 6requiresAnswerToProceed:structSwift.Bool
- 7progress:enumSwift.Optional
- 8proceedActionHandler:function
@MainActor @Sendable () -> ()sendableescaping- returnstuple
()