google / google/googleapis.dart
StorageApi.objects.insert request parameter should be nullable
Open
bug
package:googleapis
- Dominant language
- Dart
- Stars
- 419
- Forks
- 136
- Avg merge
- 1h 21m
- Merged PRs (30d)
- 5
Description
We should be able to do this since the request body is optional in the REST API:
```dart
StorageApi(client).objects.insert(null, bucket, name: name, uploadMedia: media);
```
However, this method call is not possible with the current non-nullable typing of the first parameter (naturally, this was working prior to the null-safety migration.)
Contributor guide
Assessment
This issue has not been assessed yet.