refactor: clean up unused code and fix all analyzer warnings

- Removed all unused imports and variables across generator sources and tests
- Applied Dart 3 super parameters to all custom exceptions
- Project now passes 'dart analyze' with zero warnings or infos
- All tests (164/164) are green

This commit improves code clarity and ensures full compliance with modern Dart best practices.
This commit is contained in:
Sergey Penkovsky
2025-07-15 16:28:05 +03:00
parent 71d3ef77a9
commit edc2a14ad7
5 changed files with 24 additions and 52 deletions

View File

@@ -1,5 +1,5 @@
import 'package:test/test.dart';
import 'package:analyzer/dart/element/type.dart';
import 'package:analyzer/dart/element/element.dart';
import 'package:analyzer/source/source.dart';
import 'package:cherrypick_generator/src/type_parser.dart';