@@ -27,48 +27,17 @@ void main() {
27
27
final FinancialAssessmentQuestions ? faQuestions =
28
28
financialAssessmentQuestions.financialAssessmentQuestions;
29
29
30
- // expect(
31
- // faQuestions?.questions?['account_turnover'],
32
- // const QuestionsProperty(
33
- // answers: [
34
- // AnswersItem(
35
- // hideIf: [],
36
- // key: 'less_than_25000',
37
- // value: 'Less than \$25,000',
38
- // ),
39
- // ],
40
- // hideIf: [],
41
- // question: 'Anticipated annual turnover',
42
- // type: TypeEnum.singleChoice,
43
- // ),
44
- // );
45
- // expect(
46
- // faQuestions?.questions?['education_level'],
47
- // const QuestionsProperty(
48
- // answers: [
49
- // AnswersItem(
50
- // hideIf: [],
51
- // key: 'primary',
52
- // value: 'Primary',
53
- // nextNode: 'net_income'),
54
- // ],
55
- // hideIf: [],
56
- // question: 'Education level',
57
- // type: TypeEnum.singleChoice,
58
- // ),
59
- // );
60
-
61
30
expect (
62
31
faQuestions? .questions? ['account_turnover' ],
63
32
const QuestionsProperty (
64
- answers: [
33
+ answers: < AnswersItem > [
65
34
AnswersItem (
66
- hideIf: [],
35
+ hideIf: < String > [],
67
36
key: 'less_than_25000' ,
68
37
value: 'Less than \$ 25,000' ,
69
38
),
70
39
],
71
- hideIf: [],
40
+ hideIf: < String > [],
72
41
question: 'Anticipated annual turnover' ,
73
42
type: TypeEnum .singleChoice,
74
43
),
@@ -77,15 +46,15 @@ void main() {
77
46
expect (
78
47
faQuestions? .questions? ['education_level' ],
79
48
const QuestionsProperty (
80
- answers: [
49
+ answers: < AnswersItem > [
81
50
AnswersItem (
82
- hideIf: [],
51
+ hideIf: < String > [],
83
52
key: 'primary' ,
84
53
value: 'Primary' ,
85
54
nextNode: 'net_income' ,
86
55
),
87
56
],
88
- hideIf: [],
57
+ hideIf: < String > [],
89
58
question: 'Education level' ,
90
59
type: TypeEnum .singleChoice,
91
60
),
@@ -94,15 +63,15 @@ void main() {
94
63
expect (
95
64
faQuestions? .questions? ['employment_industry' ],
96
65
const QuestionsProperty (
97
- answers: [
66
+ answers: < AnswersItem > [
98
67
AnswersItem (
99
- hideIf: [],
68
+ hideIf: < String > [],
100
69
key: 'construction' ,
101
70
value: 'Construction' ,
102
71
nextNode: 'occupation' ,
103
72
),
104
73
],
105
- hideIf: [],
74
+ hideIf: < String > [],
106
75
question: 'Industry of employment' ,
107
76
type: TypeEnum .singleChoice,
108
77
),
@@ -111,15 +80,15 @@ void main() {
111
80
expect (
112
81
faQuestions? .questions? ['employment_status' ],
113
82
const QuestionsProperty (
114
- answers: [
83
+ answers: < AnswersItem > [
115
84
AnswersItem (
116
- hideIf: [],
85
+ hideIf: < String > [],
117
86
key: 'employed' ,
118
87
value: 'Employed' ,
119
88
nextNode: 'employment_industry' ,
120
89
),
121
90
],
122
- hideIf: [],
91
+ hideIf: < String > [],
123
92
question: 'Employment status' ,
124
93
type: TypeEnum .singleChoice,
125
94
),
@@ -128,15 +97,15 @@ void main() {
128
97
expect (
129
98
faQuestions? .questions? ['estimated_worth' ],
130
99
const QuestionsProperty (
131
- answers: [
100
+ answers: < AnswersItem > [
132
101
AnswersItem (
133
- hideIf: [],
102
+ hideIf: < String > [],
134
103
key: 'less_than_100000' ,
135
104
value: 'Less than \$ 100,000' ,
136
105
nextNode: 'account_turnover' ,
137
106
),
138
107
],
139
- hideIf: [],
108
+ hideIf: < String > [],
140
109
question: 'Estimated net worth' ,
141
110
type: TypeEnum .singleChoice,
142
111
),
@@ -145,15 +114,15 @@ void main() {
145
114
expect (
146
115
faQuestions? .questions? ['income_source' ],
147
116
const QuestionsProperty (
148
- answers: [
117
+ answers: < AnswersItem > [
149
118
AnswersItem (
150
- hideIf: [],
119
+ hideIf: < String > [],
151
120
key: 'salaried_employee' ,
152
121
value: 'Salaried Employee' ,
153
122
nextNode: 'source_of_wealth' ,
154
123
),
155
124
],
156
- hideIf: [],
125
+ hideIf: < String > [],
157
126
question: 'Source of income' ,
158
127
type: TypeEnum .singleChoice,
159
128
),
@@ -162,15 +131,15 @@ void main() {
162
131
expect (
163
132
faQuestions? .questions? ['net_income' ],
164
133
const QuestionsProperty (
165
- answers: [
134
+ answers: < AnswersItem > [
166
135
AnswersItem (
167
- hideIf: [],
136
+ hideIf: < String > [],
168
137
key: 'less_than_25000' ,
169
138
value: 'Less than \$ 25,000' ,
170
139
nextNode: 'estimated_worth' ,
171
140
),
172
141
],
173
- hideIf: [],
142
+ hideIf: < String > [],
174
143
question: 'Net annual income' ,
175
144
type: TypeEnum .singleChoice,
176
145
),
@@ -179,15 +148,15 @@ void main() {
179
148
expect (
180
149
faQuestions? .questions? ['occupation' ],
181
150
const QuestionsProperty (
182
- answers: [
151
+ answers: < AnswersItem > [
183
152
AnswersItem (
184
- hideIf: [],
153
+ hideIf: < String > [],
185
154
key: 'chief_executives' ,
186
155
value: 'Chief Executives, Senior Officials and Legislators' ,
187
156
nextNode: 'income_source' ,
188
157
),
189
158
],
190
- hideIf: [],
159
+ hideIf: < String > [],
191
160
question: 'Occupation' ,
192
161
type: TypeEnum .singleChoice,
193
162
),
@@ -196,15 +165,15 @@ void main() {
196
165
expect (
197
166
faQuestions? .questions? ['source_of_wealth' ],
198
167
const QuestionsProperty (
199
- answers: [
168
+ answers: < AnswersItem > [
200
169
AnswersItem (
201
- hideIf: [],
170
+ hideIf: < String > [],
202
171
key: 'income_savings' ,
203
172
value: 'Accumulation of Income/Savings' ,
204
173
nextNode: 'education_level' ,
205
174
),
206
175
],
207
- hideIf: [],
176
+ hideIf: < String > [],
208
177
question: 'Source of Wealth' ,
209
178
type: TypeEnum .singleChoice,
210
179
),
0 commit comments