refactor: dynamicize agent profile section labels using provider-based slug mapping
This commit is contained in:
@@ -312,6 +312,22 @@ class AgentDetailState {
|
||||
String get bestExperienceLabel =>
|
||||
_labelForSlug('best_experience', 'Best Experience');
|
||||
|
||||
// Experience section labels (matches web mapFieldValuesToExperience)
|
||||
String get yearsInExperienceLabel =>
|
||||
_labelForSlug('years_in_business', 'Years in Experience');
|
||||
|
||||
String get contractsClosedLabel =>
|
||||
_labelForSlug('contracts_completed', 'Number of contracts closed');
|
||||
|
||||
String get licensingAreasLabel =>
|
||||
_labelForSlug('licensed_areas', 'Licensing & Areas');
|
||||
|
||||
String get expertiseYearsLabel =>
|
||||
_labelForSlug('expertise_areas', 'Areas in expertise & Years');
|
||||
|
||||
String get certificationsLabel =>
|
||||
_labelForSlug('certification_entries', 'Certifications');
|
||||
|
||||
// ── Availability ──
|
||||
|
||||
String get availabilityType {
|
||||
|
||||
Reference in New Issue
Block a user