Flutter – How to serialize all fields in Dart enhanced enums?
I am using Flutter Freezed package which in turn uses Dart json_serialize package. I have this Dart enhanced enum with 2 fields: enum WorkingMode { mix(type: 1, name: "mix"), parallel(type: 2, name: "parallel"), sequential(type: 3, name: "sequential"), relay(type: 4, name:…