change `arguments` to dynamic (roadmap)
- Fixes #441 - I understand `Object` was used, because Flutter's Route arguments uses it. Yet, seems it will not bring any breaking change, beyond removing all type checking to the `arguments` property. So, it gives full freedom (and responsibility) to the developer to make the proper validations. Check responses in (we might need to validate the usage of extension methods over `dynamic`): https://stackoverflow.com/questions/31257735/what-is-the-difference-between-dynamic-and-object-in-dart#:~:text=Writing%20dynamic%20o%3B%20declares%20a,except%20that%20it%27s%20an%20Object%20.
Showing
2 changed files
with
16 additions
and
12 deletions
-
Please register or login to post a comment