toDeepList method

List<List<Object?>> toDeepList({
  1. bool toJsonType = false,
})

Output the value of this RecordList to the List

If toJsonType is set to true, fields of unsuitable JSON types will be attempted to be converted to String.

Implementation

List<List<Object?>> toDeepList({bool toJsonType=false}){
  List<List<Object?>> list = [];
  Iterator<Record> itr = iterator;
  while(itr.moveNext()){
    list.add(itr.current.toList(toJsonType:toJsonType));
  }
  return list;
}