phoneValidation function Null safety

bool phoneValidation(
  1. String? value
)

Implementation

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