Skip to content

Instantly share code, notes, and snippets.

@drexel-ue
Created July 22, 2019 19:01
Show Gist options
  • Save drexel-ue/e80ed2892f41536cf80ff53831d24159 to your computer and use it in GitHub Desktop.
Save drexel-ue/e80ed2892f41536cf80ff53831d24159 to your computer and use it in GitHub Desktop.
import 'package:flutter/cupertino.dart';
import 'package:meta/meta.dart';
import 'package:trivia_black/models/point.dart';
import 'package:trivia_black/models/user.dart';
class Game {
Game({
@required User turnPlayer,
@required User waitPlayer,
@required String challengerIdentifier,
@required String challengeeIdentifier,
@required List<Point> challengerPoints,
@required List<Point> challengeePoints,
}) {
loaded = true;
}
String challengerIdentifier;
String challengeeIdentifier;
User turnPlayer;
User waitPlayer;
List<Point> challengerPoints;
List<Point> challengeePoints;
bool loaded = false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment