gameOrError property
Provides the game or error state for the current game of the client with specified id
Implementation
static final gameOrError = StreamProvider<GameOrError>(
(ref) {
final c = ref.watch(gameClient);
return c.gameStream(ref.watch(playerID), ref.watch(code));
},
name: 'GameOrErrorStream',
dependencies: [gameClient, playerID, code],
);