Validate given int is not null and returns given value if null.
int validate([int value = 0]) => this ?? value;