passwordValidation function Null safety

bool passwordValidation(
  1. String? value
)

Implementation

bool passwordValidation(String? value) {
  return value != null && value.length >= 8;
}