shape method Null safety

List shape(
  1. List list
)

Implementation

List shape(List list) {
  return getDim(list);
}