transformInputUri method

String transformInputUri(
  1. Uri uri
)

Implementation

String transformInputUri(Uri uri) {
  String src = uri.toString();
  for (var pattern in _inputConvert.keys) {
    if (pattern.matchAsPrefix(src) != null) {
      return _inputConvert[pattern]!;
    }
  }
  return src;
}