toShortUri abstract method
Converts an absolute URI to a short, reversible form.
This method transforms absolute file: URIs into package:, dart:, or asset: URIs, which are more concise and portable across different machines.
Examples:
- package:name/src/file.dart
- dart:core/bool.dart
- asset:package/test/file.dart
@param uri The URI to convert @return The shortened URI
Implementation
Uri toShortUri(Uri uri);