userWithIdentifiers function
Implementation
User userWithIdentifiers(UserIdentifier? identifier) => User(
id: identifier?.id,
username: identifier?.username,
contactInfo: UserContactInfo(
email: identifier?.email,
phone: identifier?.phone,
),
);