Max constructor

Max()

Implementation

Max()
  : super(
      methodName: "max",
      targetType: NativeMethodTarget.number,
      arity: 1,
      function: (target, interpreter, arguments) {
        return math.max(target, arguments[0]);
      },
    );