getNestedIntList function

List getNestedIntList(
  1. int depth
)

Get a List

Specify depth to added one or more parent Lists.

Example: depth 0 = List

Implementation

List getNestedIntList(int depth) =>
    getNestedList<int>(depth: depth, valueList: <int>[]);