extension property

String? extension

Implementation

String? get extension {
  if (this == null) return null;
  return "$this".replaceAll(upToLastDot, '');
}