Importer class abstract

An Importer can be used to automatically resolve dependencies. This class can be extended for multiple implementations.

Implementers

Constructors

Importer({Set<Directive> imports = const {}, Iterable<String> exclude = const ['dart:core']})
An Importer can be used to automatically resolve dependencies. This class can be extended for multiple implementations.
const

Properties

exclude Iterable<String>
The imports to ignore whilst registering references.
final
hashCode int
The hash code for this object.
no setterinherited
imports Set<Directive>
The imports registered by this importer.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(TypeReference reference) String?
Registers the provided reference to be imported.
toString() String
A string representation of this object.
inherited

Operators

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