Source
String get getterSetterDocumentationComment { var buffer = new StringBuffer(); if (hasGetter && !_getter.isSynthetic) { String docs = stripComments(_getter.documentationComment); if (docs != null) buffer.write(docs); } if (hasSetter && !_setter.isSynthetic) { String docs = stripComments(_setter.documentationComment); if (docs != null) { if (buffer.isNotEmpty) buffer.write('\n\n'); buffer.write(docs); } } return buffer.toString(); }