hasEmail property

bool get hasEmail

Returns true if email is not null, otherwise false.

Implementation

bool get hasEmail => email != null;