I have run into an error that I haven’t been able to work around in Chapter 10: Serialization with Json. At the step where we are supposed to run
flutter pub run build_runner build
in the Terminal I always get the same error:
The property 'displayString' is defined in multiple extensions for 'TargetKind' and neither is more specific.
Initial research indicates that this is likely an issue with versions of meta and analyzer being used, but it appears that I cannot use the newer versions that fix the issue because of dependencies in the json_serializable package. Any suggestions?