User constructor
User({
- required String id,
- required String name,
- required String email,
- required bool? emailVerified,
- required String? image,
- required bool blocked,
- required String? authProviderUserId,
- required String? locale,
- required String? scimExternalId,
- required UserMetadata? metadata,
- required int sessionVersion,
- required bool? twoFactorEnabled,
- required String? twoFactorSecret,
- required String? twoFactorBackupCodes,
- required bool isPlatformAdmin,
- required UserMetadata? onboardingState,
- required DateTime createdAt,
- required String? updatedAt,
- required String? lastLoginAt,
- required int failedLoginAttempts,
- required String? lockedUntil,
- required String? deletedAt,
- required String? deletedBy,
Returns a new User instance.
Implementation
User({
required this.id,
required this.name,
required this.email,
required this.emailVerified,
required this.image,
required this.blocked,
required this.authProviderUserId,
required this.locale,
required this.scimExternalId,
required this.metadata,
required this.sessionVersion,
required this.twoFactorEnabled,
required this.twoFactorSecret,
required this.twoFactorBackupCodes,
required this.isPlatformAdmin,
required this.onboardingState,
required this.createdAt,
required this.updatedAt,
required this.lastLoginAt,
required this.failedLoginAttempts,
required this.lockedUntil,
required this.deletedAt,
required this.deletedBy,
});