isNotEmpty property

bool get isNotEmpty

Returns true if string is not empty

Implementation

bool get isNotEmpty => this != null && this!.length > 0;