Implemented basic structure
This commit is contained in:
6
lib/data/dto/game.dart
Normal file
6
lib/data/dto/game.dart
Normal file
@@ -0,0 +1,6 @@
|
||||
class Game {
|
||||
final String id;
|
||||
final String name;
|
||||
|
||||
Game({required this.id, required this.name});
|
||||
}
|
||||
9
lib/data/dto/group.dart
Normal file
9
lib/data/dto/group.dart
Normal file
@@ -0,0 +1,9 @@
|
||||
import 'package:game_tracker/data/methods/dto/player.dart';
|
||||
|
||||
class Group {
|
||||
final String id;
|
||||
final String name;
|
||||
final List<Player> members;
|
||||
|
||||
Group({required this.id, required this.name, required this.members});
|
||||
}
|
||||
6
lib/data/dto/player.dart
Normal file
6
lib/data/dto/player.dart
Normal file
@@ -0,0 +1,6 @@
|
||||
class Player {
|
||||
final String id;
|
||||
final String username;
|
||||
|
||||
Player({required this.id, required this.username});
|
||||
}
|
||||
Reference in New Issue
Block a user