isBlank static method

bool isBlank(
  1. String? value
)

Returns true when the value is empty or null-safe blank.

Implementation

static bool isBlank(String? value) => value == null || value.trim().isEmpty;