isValid property Null safety

bool isValid

Is the current user a valid user

Implementation

bool get isValid => id != null && id!.isNotEmpty;