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

Updated the null check condition on taskserver page #309

Closed
wants to merge 3 commits into from
Closed

Updated the null check condition on taskserver page #309

wants to merge 3 commits into from

Conversation

its-me-abhishek
Copy link
Contributor

Description

The null check operator (!) is used in Dart to assert that a value is non-null, and it tells the Dart analyzer to treat the expression as if the value cannot be null. So I have updated the null check operator, now it is only used when contents variable is non-null, avoiding the runtime error.

Fixes #305

Screenshots

null

Checklist

  • Tests have been added or updated to cover the changes
  • Documentation has been updated to reflect the changes
  • Code follows the established coding style guidelines
  • All tests are passing

@its-me-abhishek its-me-abhishek changed the title updated null check Updated the null check condition on taskserver page Feb 21, 2024
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

Successfully merging this pull request may close these issues.

Nullcheck error on taskserver page
1 participant