google / google/json_serializable.dart

For classes stored as values in a map, make it easy to pass the corresponding key to the constructor

Open
#368 0 comments 0 reactions 0 assignees View on GitHub
Type: enhancement
Dominant language
Dart
Stars
1.6k
Forks
461
Avg merge
45m
Merged PRs (30d)
1

Description

I've hit this a few times. Often you want to structure your serialized value as a map, but you want to have the `key` data stored in the value, without duplicating the key as a field in the `value`

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.