slice method
Implementation
LodashChain slice([int start = 0, int end = 0]) {
switch (currentDim) {
case 0:
throw Exception('slice on scalar not defined');
case 1:
dim1data = dim1data.sublist(start, end);
break;
case 2:
dim2data = dim2data.sublist(start, end);
}
return this;
}