email method Null safety
Implementation
static String? email(String? value, {String? message}) =>
value == null || value.isEmpty || validations.isEmail(value) ? null : message ?? 'Please enter a valid email';
static String? email(String? value, {String? message}) =>
value == null || value.isEmpty || validations.isEmail(value) ? null : message ?? 'Please enter a valid email';