File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ element will have exactly one fragment.
226
226
227
227
Let's look at two examples of migrating some code. The examples are taken from
228
228
the analysis_server package, so they’re real code, and should be fairly
229
- epresentative without being overly complex.
229
+ representative without being overly complex.
230
230
231
231
### Add missing enum case clauses
232
232
@@ -235,7 +235,7 @@ uses the element model in a couple of ways.
235
235
236
236
To start, we need to understand how the code works, which we’ll do by looking at
237
237
the pre-migrated code. It starts by getting the type of the value being switched
238
- ver . If the type is an ` InterfaceType ` then it gets the element associated with
238
+ over . If the type is an ` InterfaceType ` then it gets the element associated with
239
239
the type.
240
240
241
241
``` dart
@@ -248,7 +248,7 @@ It then checks to see whether the element is an `EnumElement`.
248
248
if (enumElement is EnumElement) {
249
249
// ...
250
250
}
251
- ```
251
+ ```
252
252
253
253
If it is, the list of enum constants is iterated over and each constant is added
254
254
to a collection.
You can’t perform that action at this time.
0 commit comments