_assertParameterTypesAreCorrect throws null check error #12287
Labels
platform: all
Issues / PRs which are for all platforms.
plugin: analytics
type: bug
Something isn't working
Bug report
Describe the bug
Firebase analytics logEvent allows paramters to be Map<String, Object?>?, but if object is null it throws the following error:
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
If you are checking whether the value is string or num, then it shouldn't allow the object to be null right?
Paramters accept Map<String, Object>? rather than Map<String, Object?>?.
Sample project
Here there's no syntax error but breaks the flow of the app during execution
Additional context
Add any other context about the problem here.
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: