isEmpty property Null safety

bool isEmpty

Convenience getter to determine whether the current user is empty.

Implementation

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