removeUrlProtocol method

String removeUrlProtocol()

Implementation

String removeUrlProtocol() {
  if (isNullOrEmpty) return this ?? '';
  return this!.replaceFirst(RegExp(r'https?:\/\/'), '');
}