Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The value 'null' can't be assigned to a variable of type 'ViewModel' because 'ViewModel' is not nullable. #220

Open
HussainAlMeshaima opened this issue Oct 6, 2021 · 0 comments

Comments

@HussainAlMeshaima
Copy link

.. flutter/.pub-cache/hosted/pub.dartlang.org/flutter_redux-0.8.2/lib/flutter_redux.dart:507:22: Error: The value 'null' can't be assigned to a variable of type 'ViewModel' because 'ViewModel' is not nullable.

Error: The value 'null' can't be assigned to a variable of type 'ViewModel' because 'ViewModel' is not nullable.
_latestValue = null;
^
FAILURE: Build failed with an exception.

  • Where:
    Script 'D:\flutter SDK\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant