UserModel constructor

UserModel({
  1. String? uid,
  2. DocumentSnapshot<Object?>? snapshot,
  3. String? name,
  4. String? email,
  5. String? avatarUrl,
  6. UserRole? role,
  7. double? createdAt,
  8. double? updatedAt,
  9. double? lastUpdatedClaims,
  10. bool? onboardingFinished,
  11. double? userAffinity,
})

Implementation

UserModel({
  this.uid,
  this.snapshot,
  this.name,
  this.email,
  this.avatarUrl,
  this.role,
  this.createdAt,
  this.updatedAt,
  this.lastUpdatedClaims,
  this.onboardingFinished,
  this.userAffinity,
});