isNotEmpty property Null safety

bool? isNotEmpty

Returns true if this string is not empty.

Implementation

bool? get isNotEmpty => value?.isNotEmpty;