toDto method

DtoChatMember toDto(
  1. ChatMembersCursor? cursor
)

Constructs a new DtoChatMember from this ChatMemberMixin.

Implementation

DtoChatMember toDto(ChatMembersCursor? cursor) =>
    DtoChatMember(user.toModel(), joinedAt, cursor);