play method

void play()

Implementation

void play() {
  if (media != null) {
    media?.play();
  }
}