The feature "Introduce Variable" ends up creating a var variable instead of a final.
It would be cool if it prioritized the final and set it as final first.
Current Behavior:
Something.initialize(
resourceAttributes:{'any': 123},
);
Becomes:
var attributes = {'any': config.environment};
Something.initialize(resourceAttributes: attributes);
Desired Behavior:
It should generate:
final attributes = {'any': 123};
Something.initialize(resourceAttributes: attributes);
The feature "Introduce Variable" ends up creating a
varvariable instead of afinal.It would be cool if it prioritized the
finaland set it as final first.Current Behavior:
Becomes:
Desired Behavior:
It should generate: