We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello.
First of all, I am not good at English, so I am asking you to use a translator. Please understand.
I am using get: 5.0.0-release-candidate-9.2.1 version. I am getting an error when using RxList like the example below.
final list = RxList<String>(); list.add("temp");
error : type 'String' is not a subtype of type 'Never' of 'value'
final list = RxList<String>(); list.clear();
error : Unsupported operation: Cannot change the length of an unmodifiable list
Other classes also get an error for the same reason. (e.g. RxMap)
I think the reason for the error is that in the RxList class, if the constructor's argument is empty, a const [] value is assigned.
I think that if the constructor's argument is empty, a [] value should be assigned.
Is there a reason why you intentionally used const []?
The text was updated successfully, but these errors were encountered:
jonataslaw
No branches or pull requests
Hello.
First of all, I am not good at English, so I am asking you to use a translator. Please understand.
I am using get: 5.0.0-release-candidate-9.2.1 version.
I am getting an error when using RxList like the example below.
Other classes also get an error for the same reason. (e.g. RxMap)
I think the reason for the error is that in the RxList class, if the constructor's argument is empty, a const [] value is assigned.
I think that if the constructor's argument is empty, a [] value should be assigned.
Is there a reason why you intentionally used const []?
The text was updated successfully, but these errors were encountered: