AdminUser constructor

const AdminUser({
  1. required String uid,
  2. String? email,
  3. bool emailVerified = false,
  4. String? displayName,
  5. String? photoUrl,
  6. String? phoneNumber,
  7. bool disabled = false,
  8. Map<String, Object?> customClaims = const <String, Object?>{},
  9. DateTime? tokensValidAfter,
  10. DateTime? createdAt,
  11. DateTime? lastSignInAt,
  12. List<String> providerIds = const <String>[],
  13. String? tenantId,
})

Creates a record. The package creates them; you need this only for tests.

Implementation

const AdminUser({
  required this.uid,
  this.email,
  this.emailVerified = false,
  this.displayName,
  this.photoUrl,
  this.phoneNumber,
  this.disabled = false,
  this.customClaims = const <String, Object?>{},
  this.tokensValidAfter,
  this.createdAt,
  this.lastSignInAt,
  this.providerIds = const <String>[],
  this.tenantId,
});