path property

String get path

Implementation

String get path {
  try {
    return Uri.parse(url).path;
  } catch (_) {
    return url;
  }
}