build method
Implementation
@override
String build() {
final sb = StringBuffer();
sb.write(field.type.dartType(showGenerics: true));
sb.write(' ');
sb.write(field.name);
sb.write(';');
if (field.codeComments.isNotEmpty) {
sb.write('${CodeUnit.space}///${field.codeComments.join(',')}');
}
return OneLine(depth: depth, body: sb.toString()).build();
}