LibraryDependency class

A LibraryDependency provides information about an import or export.

Constructors

LibraryDependency({@required bool isImport, @required bool isDeferred, @required String prefix, @required LibraryRef target})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
isDeferred bool
Is this dependency deferred?
read / write
isImport bool
Is this dependency an import (rather than an export)?
read / write
prefix String
The prefix of an 'as' import, or null.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
target LibraryRef
The library being imported or exported.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

parse(Map<String, dynamic> json) LibraryDependency