build runner flutter only code example
Example 1: flutter build_runner
flutter pub run build_runner build
Example 2: build runner flutter
flutter pub run build_runner build --delete-conflicting-outputs
# OR
flutter pub run build_runner watch --delete-conflicting-outputs