Enable no_default_cases lint (#91530)

This commit is contained in:
Ian Hickson
2021-10-11 10:23:04 -07:00
committed by GitHub
parent 66ff778602
commit 7b01346c5c
52 changed files with 337 additions and 90 deletions

View File

@@ -281,7 +281,6 @@ class IsolateExampleState extends State<StatefulWidget> with SingleTickerProvide
case CalculationState.calculating:
return 'In Progress';
case CalculationState.idle:
default:
return 'Idle';
}
}