prosapp_web_app has chat, dashboard, calendar, support, 13 providers and Fluro URL routing. Keep Dockerfile + nginx.conf from previous prosappweb. Upgrade google_fonts 6.2.1 → 8.1.0 (Dart 3.12 compat fix). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
23 lines
370 B
Dart
23 lines
370 B
Dart
class Profession {
|
|
final String name;
|
|
|
|
Profession({required this.name});
|
|
|
|
Map<String, Object?> toDocument() {
|
|
return {
|
|
'name': name,
|
|
};
|
|
}
|
|
|
|
static Profession fromDocument(Map<String, dynamic> doc) {
|
|
return Profession(
|
|
name: doc['name'] as String,
|
|
);
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return 'Profession{name: $name}';
|
|
}
|
|
}
|