I have a global key (keyVehicleFormState) defined in the main.dart file, which I use to call a method to get a Vehicle object from a vehicle widget.
Before making a fireb