HashedAllocator class

The reason to use this allocator is to avoid changing in the alias of the imports With this allocator, we can hash the url of the import and use it as an alias This will make sure that the alias is consistent across multiple runs avoiding conflicts

Constructors

HashedAllocator()

Properties

hashCode int
The hash code for this object.
no setterinherited
imports Iterable<Directive>
All imports that have so far been added implicitly via allocate.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

allocate(Reference reference) String
Returns a reference string given a reference object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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