getNestedBoolList function
Get a List<bool> with 0 or more parent lists.
Specify depth to added one or more parent Lists.
Example:
depth 0 = List<bool>
depth 2 = List<List<List<bool>>>.
Implementation
List getNestedBoolList(int depth) =>
getNestedList<bool>(depth: depth, valueList: <bool>[]);