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
static List<String?> _lubanCompressList(List objects) { var results = []; objects.forEach((_o) { results.add(_lubanCompress(_o)); }); return results as List<String?>; }
The above method was causing that error: Had to change to the below and resolved the error
static List<String?> _lubanCompressList(List objects) { var results = []; objects.forEach((_o) { results.add(_lubanCompress(_o)); }); return (results as List<dynamic?>).cast<String?>(); }
The text was updated successfully, but these errors were encountered:
@crazecoder compressImageList is not working, it needs this quick fix.
compressImageList
Sorry, something went wrong.
No branches or pull requests
static List<String?> _lubanCompressList(List objects) {
var results = [];
objects.forEach((_o) {
results.add(_lubanCompress(_o));
});
return results as List<String?>;
}
The above method was causing that error: Had to change to the below and resolved the error
static List<String?> _lubanCompressList(List objects) {
var results = [];
objects.forEach((_o) {
results.add(_lubanCompress(_o));
});
return (results as List<dynamic?>).cast<String?>();
}
The text was updated successfully, but these errors were encountered: