uri property

Uri uri

Implementation

Uri get uri {
  final specifiedUri = _uri;
  if (specifiedUri != null) return specifiedUri;
  try {
    return _uri = Uri.parse(url);
  } on FormatException catch (e, s) {
    print('Stack trace: $s');
    throw StateError("Tried parsing '$url' as URI:\n"
        '$e');
  }
}