initial import

This commit is contained in:
2026-07-06 18:01:38 +02:00
commit 8ce435e298
122 changed files with 5392 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import 'player.dart';
import 'staff.dart';
class Convocation {
final List<Player> available;
final List<Staff> staff;
Convocation({required this.available, required this.staff});
factory Convocation.fromJson(Map<String, dynamic> json) => Convocation(
available: (json['available'] as List? ?? [])
.map((e) => Player.fromJson(e as Map<String, dynamic>))
.toList(),
staff: (json['staff'] as List? ?? [])
.map((e) => Staff.fromJson(e as Map<String, dynamic>))
.toList(),
);
}