style(cherrypick_generator): format generator files

This commit is contained in:
Sergey Penkovsky
2026-03-24 10:30:06 +03:00
parent b7979d653e
commit e47adbb7fd
3 changed files with 11 additions and 17 deletions

View File

@@ -120,10 +120,7 @@ class InjectGenerator extends GeneratorForAnnotation<ann.injectable> {
AnnotationValidator.validateClassAnnotations(classElement);
final classType = TypeParser.parseType(
classElement.thisType,
classElement,
);
final classType = TypeParser.parseType(classElement.thisType, classElement);
final injectFields = classElement.fields2
.where((f) => _isInjectField(f))
@@ -152,10 +149,9 @@ class InjectGenerator extends GeneratorForAnnotation<ann.injectable> {
named: field.namedValue,
);
body.statements.add(
refer('instance')
.property(field.fieldName)
.assign(resolveExpr)
.statement,
refer(
'instance',
).property(field.fieldName).assign(resolveExpr).statement,
);
}
});