UserEntity constructor

const UserEntity({
  1. required String uid,
  2. String? email,
  3. String? displayName,
  4. String? photoURL,
  5. String? phoneNumber,
  6. bool isEmailVerified = false,
  7. List<String> providerData = const [],
  8. UserMetadata? metadata,
})

Creates a UserEntity.

The uid is required and uniquely identifies the user. Other properties are optional and depend on the authentication method used.

Implementation

const UserEntity({
  required this.uid,
  this.email,
  this.displayName,
  this.photoURL,
  this.phoneNumber,
  this.isEmailVerified = false,
  this.providerData = const [],
  this.metadata,
});