Flutter cast runs in development but crashes in production
Casting null as a String is allowed in my local flutter environment during debugging. However, when deployed to production, the same typecast is treated as a crashing exception. The code can be translated to the following: final dynamic test =…