isNullOrEmpty static method

bool isNullOrEmpty(
  1. AbstractControl<String> control
)

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

Implementation

static bool isNullOrEmpty(AbstractControl<String> control) =>
    isNull(control) || control.value!.trim().isEmpty;