isEmpty property Null safety

bool? isEmpty

Returns true if this string is empty.

Implementation

bool? get isEmpty => value?.isEmpty;