getBoolList property

List<bool> get getBoolList

Returns a new List

The getter calls the toBoolList method to convert the current List to a List

Returns a new List

Example:

List<int> numbers = [0, 1, 0, 1, 1];
List<bool> boolList = numbers.getBoolList;
print(boolList); // Output: [false, true, false, true, true]

Implementation

List<bool> get getBoolList => toBoolList();