PulseSurveyBundle class
Full survey bundle — survey row + targeting rules + branching rules + translations. Themes and partial state will land here as those features graduate; the Go-side wire shape includes them all already.
Constructors
-
PulseSurveyBundle({PulseSurvey survey = const PulseSurvey(id: '', kind: '', name: ''), List<
PulseTargetingRule> targetingRules = const [], List<PulseBranchingRule> branchingRules = const [], Map<String, Map< translations = const {}})String, String> > -
const
-
PulseSurveyBundle.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
branchingRules
→ List<
PulseBranchingRule> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- survey → PulseSurvey
-
final
-
targetingRules
→ List<
PulseTargetingRule> -
final
-
translations
→ Map<
String, Map< String, String> > -
Per-locale string overrides keyed first by BCP-47 locale tag
(e.g. "en-US"), then by the dot-path key (e.g.
"question.psq_q1.prompt"). Empty when the survey hasn't been
translated.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited