hasAvatar property

bool get hasAvatar

Returns true if avatar is not null, otherwise false.

Implementation

bool get hasAvatar => avatar != null;