Array<T>.fromSlice constructor

Array<T>.fromSlice(
  1. List<T> elements, {
  2. int offset = oneIndexedArrayOffset,
})

Implementation

factory Array.fromSlice(
  List<T> elements, {
  int offset = oneIndexedArrayOffset,
}) {
  return _Array.fromData(elements, offset: offset);
}