sqrt method Null safety

List sqrt(
  1. List list
)

Implementation

List sqrt(List list) {
  List shape = getDim(list);
  List temp = flatten(list).map((e) => math.sqrt(e)).toList();
  temp = generate(temp, shape);
  return temp;
}