rename method Null safety
- ConfigParams options,
- String fromName,
- String toName
Renames property if the target name is not used.
options
configuration optionsfromName
original property name.toName
property name to rename to. return updated configuration options