uri property

String get uri

The URI identifying the root.

This must start with file:// for now. This restriction may be relaxed in future versions of the protocol to allow other URI schemes.

Implementation

String get uri {
  final uri = _value['uri'] as String?;
  if (uri == null) {
    throw ArgumentError('Missing uri field in $Root.');
  }
  return uri;
}