isNotEmpty property

bool get isNotEmpty

Whether this instance represents a real user.

Returns true when this instance differs from empty. Does not validate any field values individually.

Implementation

bool get isNotEmpty => this != UserModel.empty;