fieldRename property

FieldRename? fieldRename

Defines the automatic naming strategy when converting class field names into JSON map keys.

With a value FieldRename.none (the default), the name of the field is used without modification.

See FieldRename for details on the other options.

Note: the value for takes precedence over this option for fields annotated with JsonKey.


final FieldRename? fieldRename;