Team constructor

Team({
  1. required String $id,
  2. required String $createdAt,
  3. required String $updatedAt,
  4. required String name,
  5. required int total,
  6. required Preferences prefs,
})

Implementation

Team({
  required this.$id,
  required this.$createdAt,
  required this.$updatedAt,
  required this.name,
  required this.total,
  required this.prefs,
});