I am not a fan of code generation with build runners because it makes the code harder to read in my opinion. Probably just a matter of time until you get used to it. But apart from that you can use https://dart-quicktype.netlify.app/ or any AI to generate the code as an alternative.