printList function

void printList(
  1. List? list
)

Print dynamic list

Implementation

void printList(List<dynamic>? list) {
  for (final o in list!) {
    print(o.toString());
  }
}