value property

G? value

Returns the game value or null

Implementation

G? get value => when(error: (m, p) => null, game: (g) => g as G);