displayName property

String? get displayName

The displayname of the user if the user has set one.

Implementation

String? get displayName =>
    content.tryGet<String>('displayname') ??
    (membership == Membership.join
        ? null
        : prevContent?.tryGet<String>('displayname'));