PlaybookSession constructor

PlaybookSession({
  1. required PlaybookClock clock,
  2. PlaybookOverlay? overlay,
  3. PlaybookCamera? camera,
  4. Random? random,
})

Creates a session timed by clock, drawing in overlay and capturing with camera when given.

Implementation

PlaybookSession({
  required this.clock,
  this.overlay,
  this.camera,
  Random? random,
}) : random = random ?? Random();