replaceRangeT method
Replace the specified area and return a new array
Implementation
List<T> replaceRangeT(int start, int end, Iterable<T> replacement,
{bool isReplace = true}) {
if (isReplace) {
replaceRange(start, end, replacement);
}
return this;
}