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.
226226
227227Let's look at two examples of migrating some code. The examples are taken from
228228the analysis_server package, so they’re real code, and should be fairly
229- epresentative without being overly complex.
229+ representative without being overly complex.
230230
231231### Add missing enum case clauses
232232
@@ -235,7 +235,7 @@ uses the element model in a couple of ways.
235235
236236To start, we need to understand how the code works, which we’ll do by looking at
237237the 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
239239the type.
240240
241241``` dart
@@ -248,7 +248,7 @@ It then checks to see whether the element is an `EnumElement`.
248248if (enumElement is EnumElement) {
249249 // ...
250250}
251- ```
251+ ```
252252
253253If it is, the list of enum constants is iterated over and each constant is added
254254to a collection.
You can’t perform that action at this time.
0 commit comments