split method

List<List<T>> split(
  1. int at
)

Implementation

List<List<T>> split(int at) => <List<T>>[sublist(0, at), sublist(at)];