Check if the value is an integer.
static String? integer(String? value, {String? message}) => value == null || value.isEmpty || validations.isInt(value) ? null : message ?? 'Please enter a valid integer';