asSlice method

Slice<T> asSlice()

Implementation

@pragma("vm:prefer-inline")
Slice<T> asSlice() => Slice.fromList(list);