Added Service

This commit is contained in:
2026-02-21 21:57:31 +08:00
parent 6238c701c0
commit 46a84b4d95
8 changed files with 171 additions and 41 deletions
+10
View File
@@ -0,0 +1,10 @@
class Service {
Service({required this.id, required this.name});
final String id;
final String name;
factory Service.fromMap(Map<String, dynamic> map) {
return Service(id: map['id'] as String, name: map['name'] as String? ?? '');
}
}