linkCount property

int get linkCount

Implementation

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