dart_meta_types
dart_meta_types copied to clipboard
Enforce usage of List.unmodifiable and Map.unmodifable
When lists and maps are used in sealed and data classes, the generator should create an unmodifiable version of the collection passed to the constructor or clone method.