feat: Add experience management feature with UI, BLoC integration, and repository implementation
This commit is contained in:
@@ -65,4 +65,26 @@ class ProfileRepositoryMock {
|
||||
await Future.delayed(const Duration(seconds: 1));
|
||||
// Simulate save
|
||||
}
|
||||
|
||||
/// Fetches selected industries for the given staff ID.
|
||||
Future<List<String>> getStaffIndustries(String staffId) async {
|
||||
await Future.delayed(const Duration(milliseconds: 500));
|
||||
return ['hospitality', 'events'];
|
||||
}
|
||||
|
||||
/// Fetches selected skills for the given staff ID.
|
||||
Future<List<String>> getStaffSkills(String staffId) async {
|
||||
await Future.delayed(const Duration(milliseconds: 500));
|
||||
return ['Bartending', 'Server'];
|
||||
}
|
||||
|
||||
/// Saves experience (industries and skills) for the given staff ID.
|
||||
Future<void> saveExperience(
|
||||
String staffId,
|
||||
List<String> industries,
|
||||
List<String> skills,
|
||||
) async {
|
||||
await Future.delayed(const Duration(seconds: 1));
|
||||
// Simulate save
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user