Appearance
UnionArray<T extends Union>
Annotations: @Since.new('2.14')
Bounds checking indexing methods on Arrays of Union.
Properties
elements extension no setter
List<T> get elementsA list view of the bytes of this array.
Has the same length and elements (as accessed using the index operator) as this array.
Available on Array<T extends NativeType>, provided by the UnionArray<T extends Union> extension
Implementation
dart
@Since('3.8')
external List<T> get elements;Operators
operator extension
T operator [](int index)This extension method must be invoked on a receiver of type Pointer<T> where T is a compile-time constant type.
Available on Array<T extends NativeType>, provided by the UnionArray<T extends Union> extension
Implementation
dart
external T operator [](int index);