copyWith method

MyUser copyWith()

Returns a copy of this MyUser.

Implementation

MyUser copyWith() => MyUser(
  id: id,
  num: num,
  login: login,
  name: name,
  bio: bio,
  hasPassword: hasPassword,
  emails: emails.copyWith(),
  phones: phones.copyWith(),
  chatDirectLink: chatDirectLink,
  unreadChatsCount: unreadChatsCount,
  status: status,
  callCover: callCover,
  avatar: avatar,
  presenceIndex: presenceIndex,
  online: online,
  muted: muted,

  lastSeenAt: lastSeenAt,
  welcomeMessage: welcomeMessage,
);