cos function Null safety

double cos(
  1. num radians
)

Converts radians to a double and returns the cosine of the value.

If radians is not a finite number, the result is NaN.

Implementation

external double cos(num radians);