email method Null safety

String? email(
  1. String? value,
  2. {String? message}
)

Implementation

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