asList method

List<int> asList()

Implementation

List<int> asList() => Iterable<int>.generate(length).toList();