You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bowl_in/Sources/bowlin_project/lib/model/IManager.dart

31 lines
525 B

import 'package:bowl_in/model/Game.dart';
import 'User.dart';
abstract class IManager {
User _userCurrent;
User get userCurrent => _userCurrent;
set userCurrent(User value) {
_userCurrent = value;
}
late Game _gameCurrent;
List<Game> _games;
Game get gameCurrent => _gameCurrent;
set gameCurrent(Game value) {
_gameCurrent = value;
}
List<Game> get games => _games;
set games(List<Game> value) {
_games = value;
}
IManager(this._userCurrent, this._gameCurrent, this._games);
}