asin method Null safety

List asin(
  1. List list
)

Implementation

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