arraySlice method
Returns a slice of this array starting at offset.
When length is provided, at most length elements are returned.
Implementation
Expression arraySlice(Object? offset, [Object? length]) {
return _ArraySliceExpression(
this,
_toExpression(offset),
length == null ? null : _toExpression(length),
);
}