asBoolList method

List<bool> asBoolList()

Implementation

List<bool> asBoolList() {
  try {
    final data = this as dynamic;
    if (data == null) return [];
    return ObjectManager().listObjectFromBasicType<bool>(
      data ?? [],
    );
  } catch (e) {
    printDebug('Error on getListOfBool $runtimeType');
    printDebug(e);
    return [];
  }
}