void setNSPValue({required int? newValue, required int max}) { value = {"value": newValue, "max": max}; }