linkCount property

int linkCount

Implementation

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