Cos constructor

Cos()

Implementation

Cos()
  : super(
      methodName: "cos",
      targetType: NativeMethodTarget.number,
      arity: 0,
      function: (target, interpreter, arguments) {
        return math.cos(target);
      },
    );