isEmpty property

bool get isEmpty

Whether this instance represents the absent-user sentinel.

Returns true when this instance equals empty.

Implementation

bool get isEmpty => this == UserModel.empty;