isEmpty property

bool get isEmpty

returns true if value is not null.

Implementation

bool get isEmpty => this == null;