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