dart-archive / http_retry

HTTP client middleware that automatically retries requests
https://pub.dev/packages/http_retry
BSD 3-Clause "New" or "Revised" License
13 stars 10 forks source link

Migrate to null safety #17

Closed natebosch closed 3 years ago

natebosch commented 3 years ago

Named arguments are non-nullable with a default instead of a null default. This means that code which was passing null through instead of omitting the argument will be broken, even in unsound mode. I don't expect any code was doing this, and this API is not one that should need to be wrapped with argument forwarding.