flattenDepth method

List flattenDepth(
  1. int depth
)

flattenDepth flattens a nested array. @param array the list to compare against @param depth the depth of the flattening

Implementation

List flattenDepth(int depth) => array.flattenDepth(this, depth);