beginPlay method

void beginPlay()

Implementation

void beginPlay() {
  setState(() {});
  play();
}