19 lines
647 B
Dart
19 lines
647 B
Dart
import "services/auth_service.dart";
|
|
|
|
/// Identité de secours utilisée lorsque aucun profil de session n'est chargé.
|
|
class DemoIdentity {
|
|
DemoIdentity._();
|
|
|
|
static String get userName =>
|
|
AuthService.currentProfile?.fullName ?? "Lucas Martin";
|
|
static String get userInitials =>
|
|
AuthService.currentProfile?.initials ?? "LM";
|
|
static String get userSubtitle =>
|
|
AuthService.currentProfile?.subtitle ??
|
|
"Étudiant · B2 Informatique · Ensitech Cergy";
|
|
static String get campusTag =>
|
|
AuthService.currentProfile?.campusTag ?? "Saint-Christophe · Cergy";
|
|
|
|
static const loginCampusTag = "Ensitech · Cergy";
|
|
}
|