copyWith method

void copyWith(
  1. User other
)

Implementation

void copyWith(User other) {
  nickname = other.nickname;
  profileUrl = other.profileUrl;
  connectionStatus = other.connectionStatus;
  lastSeenAt = other.lastSeenAt;
  preferredLanguages = other.preferredLanguages;
  isActive = other.isActive;
  metaData = other.metaData;
  friendDiscoveryKey = other.friendDiscoveryKey;
  friendName = other.friendName;
}