isEmpty property Null safety

bool isEmpty

Implementation

bool get isEmpty => id == 0 && uid == 0;