UserVO class

Constructors

UserVO({String? uid, DocumentSnapshot<Object?>? snapshot, String? name, String? email, String? avatarUrl, UserRole? role, DateTime? createdAt, DateTime? updatedAt, DateTime? lastUpdatedClaims, bool? onboardingFinished, double? userAffinity})
const
UserVO.fromUserModel(UserModel user)
factory

Properties

avatarUrl → String?
final
createdAt → DateTime?
final
email → String?
final
hashCode → int
The hash code for this object.
no setterinherited
lastUpdatedClaims → DateTime?
final
name → String?
final
onboardingFinished → bool?
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
role → UserRole?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
snapshot → DocumentSnapshot<Object?>?
final
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
uid → String?
final
updatedAt → DateTime?
final
userAffinity → double?
final

Methods

copyWith({String? uid, DocumentSnapshot<Object?>? snapshot, String? name, String? email, String? avatarUrl, UserRole? role, DateTime? createdAt, DateTime? updatedAt, DateTime? lastUpdatedClaims, bool? onboardingFinished, double? userAffinity}) → UserVO
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
toUserModel() → UserModel

Operators

operator ==(Object other) → bool
The equality operator.
inherited