User.from constructor
User.from({})
Returns the new instance of User based on arguments.
Implementation
User.from({
required this.id,
required this.name,
required this.fullname,
required this.avatarUrl,
required this.isAdmin,
});