Skip to content

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

@HussainAlMeshaima

Description

@HussainAlMeshaima

.. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions