google / google/built_collection.dart

tighten `MapBuilder` factory parameter

Open
#279 3 comments 0 reactions 1 assignee Claimed by @davidmorgan View on GitHub
p2 / feature requiest
Dominant language
Dart
Stars
285
Forks
54
Avg merge
23m
Merged PRs (30d)
1

Description

`MapBuilder` currently has the factory: `factory MapBuilder([map = const {}])`
I think it should be
```dart
factory MapBuilder([map = const {}])
```

there are also other instances where dynamic is used instead of strict types, is that intentional? e.g. https://github.com/google/built_collection.dart/issues/241

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.