title method

String title({
  1. bool withDeletedLabel = true,
})

Returns the string representation of this RxUser to display as a title.

If withDeletedLabel is true, then returns the title with the deleted label for deleted users.

Implementation

String title({bool withDeletedLabel = true}) =>
    contact.value?.contact.value.name.val ??
    user.value.title(withDeletedLabel: withDeletedLabel);