schultek / dart_mappable

Improved json serialization and data classes with full support for generics, inheritance, customization and more.
https://pub.dev/packages/dart_mappable
MIT License
165 stars 23 forks source link

generics build warning for number of params of copyWith method #237

Open chirastefan opened 2 months ago

chirastefan commented 2 months ago

The type 'PlayerCopyWith' is declared with 4 type parameters, but 3 type arguments were given. Try adjusting the number of type arguments to match the number of type parameters.

The issue can be reproduced in this repo under sandbox1 folder