removeRefs method Null safety

String removeRefs()

Implementation

String removeRefs() {
  return replaceAll(RegExp(r'#.....'), '');
}