atan method Null safety

List atan(
  1. List list
)

Implementation

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