flattenDepth method
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);
flattenDepth flattens a nested array.
@param array
the list to compare against
@param depth
the depth of the flattening
List flattenDepth(int depth) => array.flattenDepth(this, depth);