isNotEmpty property

bool get isNotEmpty

Returns true if the string is not empty after trimming whitespace.

Implementation

bool get isNotEmpty => value.trim().isNotEmpty;