rad2deg method Null safety

List rad2deg(
  1. List list
)

Implementation

List rad2deg(List list) {
  List shape = getDim(list);
  List temp = flatten(list).map((e) => (e * 180.0) / math.pi).toList();
  temp = generate(temp, shape);
  return temp;
}