json_serializable.dart icon indicating copy to clipboard operation
json_serializable.dart copied to clipboard

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

Open kevmoo opened this issue 7 years ago • 0 comments

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

kevmoo avatar Jan 09 '19 16:01 kevmoo