PrefixImporter class

Registers all the imports just like the RegularImporter but also prefixed every dependency to ensure type collisions do not happen.

Inheritance

Constructors

PrefixImporter({Iterable<String> exclude = const ['dart:core']})
Registers all the imports just like the RegularImporter but also prefixed every dependency to ensure type collisions do not happen.

Properties

exclude Iterable<String>
The imports to ignore whilst registering references.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
imports Set<Directive>
The imports registered by this importer.
finalinherited
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.
override
toString() String
A string representation of this object.
inherited

Operators

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