referenceCount property

int referenceCount

Implementation

int get referenceCount {
  final RegExp regex = RegExp(r'\[[. \w]*\](?!\(.*\))');
  return regex.allMatches(commentStringWithoutCode).length;
}