chimon2000 / chimon2000/remote_state
[Bug]: RemoteState.Guard will return success for a null value in release mode and error in debug mode
Open
bug
- Dominant language
- Dart
- Stars
- 14
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
If you pass a future to RemoteState.Guard that returns a null value, in release mode it'll go through as a success but in debug mode the assert that the value can't be null will be prevent it and an error state is returned.
**Expected behavior**
An error state should be returned for for both instances or a different state might need to be addressed.
**Screenshots**
N/A
**Smartphone (please complete the following information):**
- No device specific
Contributor guide
Assessment
This issue has not been assessed yet.