isNotNullOrEmpty static method

bool isNotNullOrEmpty(
  1. AbstractControl<String> control
)

Returns true if control is not null and not empty white spaces, otherwise return false.

Implementation

static bool isNotNullOrEmpty(AbstractControl<String> control) =>
    isNotNull(control) && control.value!.trim().isNotEmpty;