User constructor
const
User({})
Create a new user with the given parameters.
Implementation
const User({
required this.loginMethod,
required this.id,
this.name,
this.email,
this.phoneNumber,
this.photoUrl,
});
Create a new user with the given parameters.
const User({
required this.loginMethod,
required this.id,
this.name,
this.email,
this.phoneNumber,
this.photoUrl,
});