google / json_serializable.dart

Generates utilities to aid in serializing to/from JSON.
https://pub.dev/packages/json_serializable
BSD 3-Clause "New" or "Revised" License
1.55k stars 395 forks source link

Unify dart and flutter generation instructions #1329

Closed JAicewizard closed 1 year ago

JAicewizard commented 1 year ago

When using flutter pub run ... it prints "Deprecated. Use dart run instead." (flutter 3.10) so this removes the instructions for flutter and just instructions and just use dart run ...

kevmoo commented 1 year ago

@JAicewizard – FYI – the readme is generated from a template. I pushed the fix here. It's weird.

JAicewizard commented 1 year ago

Ah yeah sure, thanks for fixing that I had no idea :)

kevmoo commented 1 year ago

Ah yeah sure, thanks for fixing that I had no idea :)

I'm kinda proud of the setup to make sure a bunch of stuff says in sync – but it does increase the contributor burden. It's a VERY one-off solution!