I run into this error
but it can be fixed but running the app with the arguments : flutter run --no-sound-null-safety
or changing the settings in Android studio(Run - edit configurations)
Course: Beginning Flutter: Android Mobile App Development - Learn Interactively
Lesson: Calling REST API - Beginning Flutter: Android Mobile App Development