static bool isSvg(String? value) { if (value == null) return false; return RegExp(r'((\.svg)|(<\/svg>)){1}$').hasMatch(value); }