Closed UsamaSarwar closed 1 year ago
Is there any ETA on this fix. This is causing my builds to fail because of a 3rd party dependency that I can't change.
Can you please publish the fix?
Is there any ETA on this fix. This is causing my builds to fail because of a 3rd party dependency that I can't change.
you're right. I can't change the 3rd party dependency is real reson.(delete)
you can try add dependency_overrides in pubdesc.yaml
Better fix would be to make it null safe like text! instead of text as String. Isn't it?
The argument type 'String?' can't be assigned to the parameter type 'Object' because 'String?' is nullable and 'Object' isn't.
To fix this, we need to change the argument type to 'String'.
This will tell the compiler that the argument is a non-nullable string, and the error will be resolved.
Here are some additional details about the error: