isPubRef property
bool
get
isPubRef
determines if this reference references a pub packaage
Implementation
bool get isPubRef {
final uri = Uri.parse(ref);
return uri.hasScheme && uri.scheme == 'pub';
}