copyWith method

void copyWith(
  1. User other
)

Implementation

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