anchor property

String? get anchor

Implementation

String? get anchor {
  final pos = ref?.indexOf('#');
  return pos == null || pos < 0 ? null : ref?.substring(pos);
}