textValidation function Null safety

bool textValidation(
  1. String? value
)

Implementation

bool textValidation(String? value) {
  return value != null && value.isNotEmpty;
}