isoos / http_client

https://pub.dartlang.org/packages/http_client
BSD 3-Clause "New" or "Revised" License
13 stars 6 forks source link

Fixed null aware operator #10

Closed uttufy closed 3 years ago

isoos commented 3 years ago

Thanks! Is this something you want to get released as a new version?

uttufy commented 3 years ago

Thanks! Is this something you want to get released as a new version?

This PR fixes this warning

../../.pub-cache/hosted/pub.dartlang.org/http_client-1.5.0/lib/pkg_http_adapter.dart:33:10: Warning: Operand of null-aware operation '!' has type 'int' which excludes null.
      rs.statusCode!,
         ^

As, elastic_client depends on http_client So this has to be released in a new version. So, elastic_client dependency can be updated. Thank you :)

isoos commented 3 years ago

I've released this as 1.5.1