extendFromSlice method

void extendFromSlice(
  1. Slice<T> slice
)

Appends all elements in a slice to the Vec.

Implementation

@pragma('vm:prefer-inline')
void extendFromSlice(Slice<T> slice) => addAll(slice);