RulesCommonAvoid unnecessary type castsOn this pageAvoid unnecessary type castsRule idavoid-unnecessary-type-castsSeverityWarningDescriptionWarns about of unnecessary use of casting operators.Exampleclass Example { final myList = <int>[1, 2, 3]; void main() { final result = myList as List<int>; // LINT }}