resume method

void resume()

Resumes the camera feed playback.

Sets the playback status to GemCameraPlayerStatus.playing if currently paused. Does not affect the underlying DataSource sensor playback - only resumes the visual rendering of camera frames in the player widget.

Also see:

Implementation

void resume() {
  if (value.status == GemCameraPlayerStatus.paused) {
    value = value.copyWith(status: GemCameraPlayerStatus.playing);
  }
}