DtoChatMember constructor

DtoChatMember(
  1. User? user,
  2. PreciseDateTime joinedAt,
  3. ChatMembersCursor? cursor, {
  4. UserId? userId,
})

Implementation

DtoChatMember(this.user, this.joinedAt, this.cursor, {UserId? userId})
  : id = userId ?? user!.id;