hasDisplayName property

bool get hasDisplayName

Returns true if displayName is not null, otherwise false.

Implementation

bool get hasDisplayName => displayName != null;