isNotEmpty property Null safety

bool isNotEmpty

Whether the string value is empty or not.

Returns false if the string value is null

Implementation

bool get isNotEmpty => _value?.isNotEmpty ?? false;