Game.fromPgn constructor

Game.fromPgn(
  1. String pgn
)

Implementation

factory Game.fromPgn(String pgn) => parsePgn(pgn).buildGame();