isEmpty property Null safety

bool isEmpty

Whether the string value is empty

Returns true if the string value is null

Implementation

bool get isEmpty => _value?.isEmpty ?? true;