Truncate constructor

Truncate()

Implementation

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