compute method
Computes the changes for this producer using builder.
This method should not modify fixKind.
Implementation
@override
Future<void> compute(ChangeBuilder builder) async =>
switch (node.thisOrAncestorOfType<ClassDeclaration>()) {
null => null,
final classDeclaration => await EditCodeCommand.forAddingClassModifier(
file: file,
builder: builder,
classDeclaration: classDeclaration,
modifier: 'base ',
).call(),
};