creditCard method Null safety
Checks if the value is a valid credit card number.
Implementation
static String? creditCard(String? value, {String? message}) =>
value == null || value.isEmpty || validations.isCreditCard(value) ? null : message ?? 'Please enter a valid credit card number';