writeClassToBuffer method
Implement this method to write class code to the StringBuffer
The ClassElementExtract
contains all the class information extracted
from ClassElement
.
The StringBuffer is where you write the code to
Implementation
@override
void writeClassToBuffer(
ClassElementExtract extract,
StringBuffer classStringBuffer,
) {
final finderGenerator = FinderClassWriter(extract)..buildClassCode();
classStringBuffer
..write(finderGenerator.classCode)
..writeln('\n\n');
super.writeClassToBuffer(extract, classStringBuffer);
}