ReorderedIndexMap class final

Thin wrapper around a vector that maps visual indices to source indices

map[visualIndex] = sourceIndex

Produced by reorder_visual() on `Bidi`.

Implemented types

Properties

asSlice List<int>
Get this as a slice/array of indices
no setter
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Whether this map is empty
no setter
length int
The length of this map
no setter
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int index) int
Get element at index. Returns 0 when out of bounds (note that 0 is also a valid in-bounds value, please use len() to avoid out-of-bounds)