Import class

A library import.

Used to describe which libraries a remote widget libraries depends on. The identified libraries can be local or remote. Import loops are invalid.

Inheritance

Constructors

Import(LibraryName name)
Wraps the given library name in an Import object.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name LibraryName
The name of the library to import.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source SourceRange?
The source location that corresponds to this BlobNode, if known.
no setterinherited

Methods

associateSource(SourceRange source) → void
Assign a SourceRange to this BlobNode's source property.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
propagateSource(BlobNode? original) → void
Assign another BlobNode's SourceRange to this BlobNode's source property.
inherited
toString() String
A string representation of this object.
override

Operators

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