The Uri that this UriData
is giving access to.
Returns a Uri
with scheme data
and the remainder of the data URI
as path.
Source
Uri get uri { if (_uriCache != null) return _uriCache; String path = _text; String query = null; int colonIndex = _separatorIndices[0]; int queryIndex = _text.indexOf('?', colonIndex + 1); int end = _text.length; if (queryIndex >= 0) { query = _Uri._normalizeOrSubstring( _text, queryIndex + 1, end, _Uri._queryCharTable); end = queryIndex; } path = _Uri._normalizeOrSubstring( _text, colonIndex + 1, end, _Uri._pathCharOrSlashTable); _uriCache = new _DataUri(this, path, query); return _uriCache; }