namePart property

String namePart

Utility getter/cache for _MarkdownCommentReference._getResultsForClass.

Implementation

String get namePart {
  // TODO(jcollins-g): This should really be the same as 'name', but isn't
  // because of accessors and operators.
  _namePart ??= fullyQualifiedName.split('.').last;
  return _namePart;
}